mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +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_test.go | ||
backend.go | ||
config_test.go | ||
config.go | ||
internal_test.go | ||
stdio_conn.go |