[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
-----BEGIN PGP SIGNED MESSAGE-----
As you may know, pkgin uses libfetch in order to download packages. Since
5.1 release of NetBSD, many pkgin users are facing weird issues when
downloading from FTP. These issues only appear when downloading many
The first behaviour i've noted myself is that FTP connections will stack
to the point the FTP server will stop answering. While reading libfetch's
source code my understanding was it is able to re-use an established
connection, am i wrong ? Stranger thing is that will occur even if i
explicitly "close" the connection using fetchIO_close() (which i'm not
sure what it actually does).
Second behaviour i have noted when _not_ using fetchIO_close() is that the
first download will go through, but the next connection to a FTP server
will hang forever.
Latest code for the download part is available here:
The real question behind this mail is: what is the "good way" to use
libfetch when downloading many items using the same connection ?
Any hint welcome...
Emile "iMil" Heitor .°. <imil%home.imil.net@localhost>
http://gcu-squad.org ASCII ribbon campaign ( )
- against HTML email X
& vCards / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (NetBSD)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |