rclone/backend/sftp
Nick Craig-Wood a351484997 sftp: fix timeout on hashing large files by sending keepalives
Before this fix the SFTP sessions could timeout when doing hashes if
they took longer than the --timeout parameter.

This patch sends keepalive packets every minute while a shell command
is running to keep the connection open.

See: https://forum.rclone.org/t/rclone-check-over-sftp-failure-to-calculate-md5-hash-for-large-files/27487
2021-11-22 15:26:29 +00:00
..
sftp.go sftp: fix timeout on hashing large files by sending keepalives 2021-11-22 15:26:29 +00:00
sftp_internal_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
stringlock.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
stringlock_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00