mirror of
https://github.com/restic/restic.git
synced 2025-12-08 06:09:56 +00:00
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. |
||
|---|---|---|
| .. | ||
| backend.go | ||
| backend_test.go | ||
| cache.go | ||
| dir.go | ||
| file.go | ||
| file_test.go | ||
| testing.go | ||