tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libfetch behaviour



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


       /* try to use previously cached connection */
       if (ftp_isconnected(url)) {
               e = ftp_cmd(cached_connection, "NOOP"); <- hangs
               if (e == FTP_OK || e == FTP_SYNTAX_ERROR)
                       return (fetch_ref(cached_connection));

more explainations, the blocking call is:

                        rlen = read(conn->sd, buf, len);

in dist/libfetch/common.c:454

- -------------------------------------------
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)

iD8DBQFOPqUoFG3BlGWyzUIRAmyWAJ9YZ75wf2ytcoQXCtDIb+TC8rTj3gCfaFRc
kMwGEswXCrqeydbwMBeBO/s=
=l4lE
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index