Hello Alexander, and hello to all lftp fans!
The brandnew lftp 3.6.0 seems to hang on certain ftp servers
if debug is set to 3 or higher. While it hangs, it uses up all
available CPU time. With the brandnew version lftp 3.5.15 of
the "old" 3.5 series, the problem does not occur.
How to reproduce:
shell$ lftp
lftp :~> version
LFTP | Version 3.6.0 | Copyright (c) 1996-2007 Alexander V. Lukyanov
[... output shortened ...]
Libraries used: Readline 5.2, Expat 1.95.8, OpenSSL 0.9.8g 19 Oct 2007
lftp :~> debug 3
lftp :~> open ftp://ftp.fu-berlin.de/
---- Connecting to ftp.fu-berlin.de (130.133.3.130) port 21
<--- 220 FTP.FU-Berlin.DE ready.
<--- 230-
<---
(there it hangs and consumes 100% CPU power)
Same with "ftp.berlios.de". But not all FTP servers trigger that
problem. I know that ftp.fu-berlin.de runs ProFTPd if that matters.
I tested this on several Fedora 6 and 7 machines with the default
settings of lftp right after a fresh install. Always the same problem.
Configure options are: ./configure --prefix=/usr/local
--with-openssl=/usr/local/ssl --without-included-readline --disable-nls
If there's additional information needed, please let me know.
Greetings, Andreas