2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-30 02:28:33 +00:00
restic/internal
Alexander Neumann fc5439a37a cache: Ensure failed downloads are retried
This fixes #1833, which consists of two different bugs:

 * The `defer` in `cacheFile()` may remove a channel from the
   `inProgress` map although it is not responsible for downloading the
   file

 * If the download fails, goroutines waiting for the file to be cached
   assumed that the file was there, there was no way to signal the
   error.
2018-06-09 17:50:56 +02:00
..
2018-06-09 12:15:19 +02:00
2018-04-25 14:42:45 +02:00
2018-05-01 14:38:41 +02:00
2018-03-04 20:11:29 +00:00
2017-07-23 14:19:13 +02:00
2018-05-22 20:48:17 +02:00
2018-01-23 22:39:51 -05:00
2018-03-03 15:49:44 +01:00
2018-05-13 12:48:42 +02:00
2018-05-01 14:38:59 +02:00
2018-06-09 12:15:19 +02:00
2017-07-23 14:21:03 +02:00