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


FWIW, calling fetchStatURL() just after a while fetchIO_read() loop hangs
too, here's the ktrace:

 8400      1 pkgin    CALL  writev(6,0x7f7fffffc460,2)
 8400      1 pkgin    GIO   fd 6 wrote 6 bytes
      "\r\nOP\0\0"
 8400      1 pkgin    RET   writev 6
 8400      1 pkgin    CALL  read(6,0x7f7ffbe52800,0x400)
 8400      1 pkgin    RET   read RESTART
 8400      1 pkgin    PSIG  SIGINT SIG_DFL: code=SI_NOINFO

And a little bit further, the hang occurs in dist/libfetch/ftp.c at this exact point:

        /* 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));

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

iD8DBQFOPo9RFG3BlGWyzUIRAqyhAJ4vl97KTyY6Si0JCrL6kO1e2Nj4mQCeIk2V
pPRoLpA/yPjrOMrMF+91O7s=
=Dxbq
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index