stream through proxy when using fileRetriever
authorJoey Hess <joeyh@joeyh.name>
Tue, 15 Oct 2024 18:29:06 +0000 (14:29 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 15 Oct 2024 18:29:06 +0000 (14:29 -0400)
commit835283b86240ef4b68c44f4332ac1b644e08e49f
treeeef364c1e051b9219abf27d9e64c8365173f523e
parent54fcc2ec51db4a4c2eb91b24660a3885d4f3869e
stream through proxy when using fileRetriever

The problem was that when the proxy requests a key be retrieved to its
own temp file, fileRetriever was retriving it to the key's temp
location, and then moving it at the end, which broke streaming.

So, plumb through the path where the key is being retrieved to.
Remote/Directory.hs
Remote/Directory/LegacyChunked.hs
Remote/GCrypt.hs
Remote/Glacier.hs
Remote/Helper/Chunked.hs
Remote/Helper/Special.hs
Types/StoreRetrieve.hs
doc/todo/git-annex_proxies.mdwn