Hi lftp-developers

I'm a lftp lover and I found a bug.
A bug seems in lftp-2.6.4.
I'm using linux-2.4.20, glibc-2.2.5 and gcc-3.2.

Please see this:

lftpget -d -c http://httpd.apache.org/dist/httpd/apache_1.3.27.tar.gz
---- Resolving host address...
---- 1 address found
---- Connecting to httpd.apache.org (208.185.179.12) port 80
**** Timeout - reconnecting
---- Closing HTTP connection
---- Connecting to httpd.apache.org (208.185.179.12) port 80
---> GET /dist/httpd/apache_1.3.27.tar.gz HTTP/1.1
---> Host: httpd.apache.org
---> User-Agent: lftp/2.6.4
---> Accept: */*
---> Connection: keep-alive
--->
<--- HTTP/1.1 301 Moved Permanently
<--- Date: Sat, 08 Feb 2003 05:48:18 GMT
<--- Server: Apache/2.0.44 (Unix)
<--- Location: http://www.apache.org/dist/httpd/apache_1.3.27.tar.gz
<--- Content-Length: 343
<--- Keep-Alive: timeout=5, max=100
<--- Connection: Keep-Alive
<--- Content-Type: text/html; charset=iso-8859-1
<---
copy: received redirection to `http://www.apache.org/dist/httpd/apache_1.3.27.tar.gz'
---- Resolving host address...
---- 1 address found
---- Connecting to www.apache.org (208.185.179.12) port 80
---> GET /dist/httpd/apache_1.3.27.tar.gz HTTP/1.1
---> Host: www.apache.org
---> User-Agent: lftp/2.6.4
---> Accept: */*
---> Connection: keep-alive
--->
<--- HTTP/1.1 302 Found
<--- Date: Sat, 08 Feb 2003 05:48:18 GMT
<--- Server: Apache/2.0.44 (Unix)
<--- Location: http://nagoya.apache.org/dist/httpd/apache_1.3.27.tar.gz
<--- Content-Length: 320
<--- Keep-Alive: timeout=5, max=100
<--- Connection: Keep-Alive
<--- Content-Type: text/html; charset=iso-8859-1
<---
copy: received redirection to 
`http://nagoya.apache.org/dist/httpd/apache_1.3.27.tar.gz'
---- Resolving host address...
---- 1 address found
---- Connecting to nagoya.apache.org (192.18.33.10) port 80
---> GET /dist/httpd/apache_1.3.27.tar.gz HTTP/1.1
---> Host: nagoya.apache.org
---> User-Agent: lftp/2.6.4
---> Accept: */*
---> Connection: keep-alive
--->
<--- HTTP/1.1 302 Found
<--- Date: Sat, 08 Feb 2003 05:49:59 GMT
<--- Server: Apache/2.0.40-dev (Unix) DAV/2 SVN/0.13.1 (dev build)
<--- Location: http://nagoya.apache.org/mirror/httpd/apache_1.3.27.tar.gz
<--- Content-Length: 322
<--- Keep-Alive: timeout=15, max=100
<--- Connection: Keep-Alive
<--- Content-Type: text/html; charset=iso-8859-1
<---
copy: received redirection to 
`http://nagoya.apache.org/mirror/httpd/apache_1.3.27.tar.gz'
---> GET /mirror/httpd/apache_1.3.27.tar.gz HTTP/1.1
---> Host: nagoya.apache.org
---> User-Agent: lftp/2.6.4
---> Accept: */*
---> Connection: keep-alive
--->
<--- HTTP/1.1 200 OK
<--- Date: Sat, 08 Feb 2003 05:49:59 GMT
<--- Server: Apache/2.0.40-dev (Unix) DAV/2 SVN/0.13.1 (dev build)
<--- Last-Modified: Thu, 03 Oct 2002 18:51:32 GMT
<--- ETag: "2af35d-233004-4e40d500"
<--- Accept-Ranges: bytes
<--- Content-Length: 2306052
<--- Keep-Alive: timeout=15, max=99
<--- Connection: Keep-Alive
<--- Content-Type: application/x-tar
<--- Content-Encoding: x-gzip
<---
**** Peer closed connection
---- Closing HTTP connection
**** Peer closed connection
---- Closing HTTP connection
**** Peer closed connection
---- Closing HTTP connection
PollVec::Block: BUG - deadlock detected
PollVec::Block: BUG - deadlock detected
PollVec::Block: BUG - deadlock detected
PollVec::Block: BUG - deadlock detected



But it's OK if I do:
lftpget -c http://nagoya.apache.org/mirror/httpd/apache_1.3.27.tar.gz


lftpget-2.6.3 works if there's no suspended session,
but after stopping the session, the second (resuming)
lftpgetting ends with this info:
<snip>
copy: received redirection to 
`http://nagoya.apache.org/dist/httpd/apache_1.3.27.tar.gz'
---- Resolving host address...
---- 1 address found
---- Connecting to nagoya.apache.org (192.18.33.10) port 80
---> GET /dist/httpd/apache_1.3.27.tar.gz HTTP/1.1
---> Host: nagoya.apache.org
---> User-Agent: lftp/2.6.3
---> Accept: */*
---> Range: bytes=1280752-
---> Connection: keep-alive
--->
<--- HTTP/1.1 416 Requested Range Not Satisfiable
<--- Date: Sat, 08 Feb 2003 06:12:43 GMT
<--- Server: Apache/2.0.40-dev (Unix) DAV/2 SVN/0.13.1 (dev build)
<--- Content-Length: 394
<--- Keep-Alive: timeout=15, max=100
<--- Connection: Keep-Alive
<--- Content-Type: text/html; charset=iso-8859-1
<---
---- Closing HTTP connection
---- Closing HTTP connection
---- Closing HTTP connection

Well, in this case it possibly seems a problem of server, though.

-- 
tamo


Reply via email to