rclone/backend/sftp
Nick Craig-Wood 7dc7c021db sftp: fix Update ReadFrom failed: failed to send packet: EOF errors
In

a3fcadddc8 sftp: close idle connections after --sftp-idle-timeout (1m by default)

Idle SFTP connections were closed after 1 minute. However due to the
way SSH multiplexes connections over a single SSH connection this
meant that if uploads or downloads went on for more than one minute
they failed with "EOF errors" as their underlying connection was
closed.

This fixes the problem by not clearing idle connections if there are
any transfers in progress.

Fixes #5197
2021-04-06 10:01:49 +01:00
..
sftp_internal_test.go sftp: add About support - fixes #3107 2019-04-25 10:51:15 +01:00
sftp_test.go build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
sftp_unsupported.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00
sftp.go sftp: fix Update ReadFrom failed: failed to send packet: EOF errors 2021-04-06 10:01:49 +01:00
stringlock_test.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00
stringlock.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00