mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
c979cde002
As an extra security feature some FTP servers (eg FileZilla) require that the data connection re-use the same TLS connection as the control connection. This is a good thing for security. The message "TLS session of data connection not resumed" means that it was not done. The problem turned out to be that rclone was re-using the TLS session cache between concurrent connections so the resumed TLS data connection could from any of the control connections. This patch makes each TLS connection have its own session cache which should fix the problem. This also reverts the ftp library to the upstream version which now contains all of our patches. Fixes #7234 |
||
---|---|---|
.. | ||
ftp_internal_test.go | ||
ftp_test.go | ||
ftp.go |