4udak / pyftpdlib

Automatically exported from code.google.com/p/pyftpdlib
Other
1 stars 1 forks source link

TLS shutdown Issue Introduced. #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
r923 introduces a change to how SSL shutdown is done. Running a server with TLS 
enabled results in the following error message from FileZilla.

--
Status: Server did not properly shut down TLS connection
Error:  Could not read from transfer socket: ECONNABORTED - Connection aborted
--

This is something that happened in older proftpd versions,
here is the fix:

http://proftp.cvs.sourceforge.net/viewvc/proftp/proftpd/contrib/mod_tls.c?r1=1.1
38&r2=1.139

The explanation is:

http://marc.info/?l=proftpd-users&m=121736627908173&w=2

Original issue reported on code.google.com by btimby@gmail.com on 2 Dec 2011 at 8:14

GoogleCodeExporter commented 9 years ago
I will provide additional details on this shortly.

Original comment by btimby@gmail.com on 5 Dec 2011 at 6:15

GoogleCodeExporter commented 9 years ago
r925 & r926 resolved this issue.

The error from GnuTLS in FileZilla was because the data channel unexpectedly 
closed due to the AttributeError thrown when the missing _error attribute was 
accessed.

I will close this issue. The latest revision is now running smoothly for me. 
Time will tell if the changes in r923 resolve issue 191.

Original comment by btimby@gmail.com on 5 Dec 2011 at 9:54