[issue19500] ftplib: Add client-side SSL session resumption

Florian Wickert report at bugs.python.org
Tue May 26 11:21:56 EDT 2020


Florian Wickert <florianwickert at gmail.com> added the comment:

Using vsftpd 3.0.3 with ssl_enable=YES and require_ssl_reuse=YES I get the following error when I try to upload a file with conn.storbinary():

FTP command: Client "192.168.178.115", "STOR something.bin"
FTP response: Client "192.168.178.115", "150 Ok to send data."
FTP response: Client "x.x.x.x", "150 Ok to send data."
DEBUG: Client "x.x.x.x", "DATA connection terminated without SSL shutdown. Buggy client! Integrity of upload cannot be asserted."
FTP response: Client "x.x.x.x", "426 Failure reading network stream."

This also happens when SSL reuse is disabled on the server side.
Uploading with FileZilla works and there is basically no difference in the log until the error happens.

----------
nosy: +Florian Wickert

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue19500>
_______________________________________


More information about the Python-bugs-list mailing list