Bugreport: SSL connection terminated without SSL shutdown

Andreas Prieß <[email protected]> Fri, 05 Sep 2008 19:46:35 +0200
Newsgroups gmane.network.lftp.devel
Organization metaphysis
Message-ID <[email protected]>
Hi,

after updating an FTP server I got problems with lftp and FTP over SSL 
with SSL for both channels. The FTP server vsftpd in version 2.0.7 logs 
an error:

DEBUG: Client "87.178.121.68", "Connection terminated without SSL 
shutdown - buggy client?"

OK UPLOAD: Client "87.178.121.68", "/account_edit.php", 14948 bytes, 
54.72Kbyte/sec

So the file is uploaded ok, but the ssl connection is not closed 
correctly according to the RFCs by lftp in version 3.7.4.

This works none the less mostly as expected, but it gets somewhat 
annoying if I try to use --parallel=2 or more. Then the connections are 
all closed and lftp waits to retry. That makes it a bit slow instead of 
faster. The cause seems to be the above SSL problem that should 
therefore be corrected.

More on this can be found in the forums to filezilla that for me first 
revealed this problem with SSL.
http://forum.filezilla-project.org/viewtopic.php?f=2&t=7688
http://forum.filezilla-project.org/viewtopic.php?f=2&t=7465&st=0&sk=t&sd=a&start=45

Maybe someone could look into this. I did not find my way in the source 
code...


Greetings
Andreas