mirror of
https://github.com/restic/restic.git
synced 2024-12-25 01:06:39 +00:00
3cd927d180
Calling `Close()` on the rclone backend sometimes failed during test execution with 'signal: Broken pipe'. The stdio connection closed both the stdin and stdout file descriptors at the same moment, therefore giving rclone no chance to properly send any final http2 data frames. Now the stdin connection to rclone is closed first and will only be forcefully closed after a timeout. In case rclone exits before the timeout then the stdio connection will be closed normally. |
||
---|---|---|
.. | ||
backend.go | ||
backend_test.go | ||
config.go | ||
config_test.go | ||
internal_test.go | ||
stdio_conn.go |