2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-26 16:48:29 +00:00
Michael Eischer e483b63c40 retrybackend: Fail operations when context is already canceled
Depending on the used backend, operations started with a canceled
context may fail or not. For example the local backend still works in
large parts when called with a canceled context. Backends transfering
data via http don't work. It is also not possible to retry failed
operations in that state as the RetryBackend will abort with a 'context
canceled' error.

Ensure uniform behavior of all backends by checking for a canceled
context by checking for a canceled context as a first step in the
RetryBackend. This ensures uniform behavior across all backends, as
backends are always wrapped in a RetryBackend.
2020-12-28 21:06:47 +01:00
..
2020-12-17 12:47:53 +01:00
2020-12-17 12:47:53 +01:00
2020-12-17 12:47:53 +01:00
2017-07-23 14:19:13 +02:00
2018-03-03 15:49:44 +01:00
2017-07-23 14:19:13 +02:00
2017-07-23 14:19:13 +02:00
2020-09-05 10:07:16 +02:00
2018-04-01 10:16:31 +02:00
2018-04-01 10:16:31 +02:00