git-annex/P2P
Joey Hess 7402ae61d9
fix reversion in GET from proxy over http
4f3ae96666 caused a hang in GET,
which git-annex testremote could reliably cause.

The problem is that closing both P2P handles before waiting on the
asyncworker prevents all the DATA from getting sent.

The solution is to only close the P2P handles early when the
P2PConnection is being closed. When it's being released, let the
asyncworker finish. closeP2PConnection is called in GET when it was
unable to send all data, and in PUT when it did not receive all the
data, and in both cases closing the P2P handles early is ok.
2024-07-29 11:07:09 -04:00
..
Http fix reversion in GET from proxy over http 2024-07-29 11:07:09 -04:00
Address.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Annex.hs Remote.Git retrieveKeyFile works with annex+http urls 2024-07-24 10:28:44 -04:00
Auth.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Http.hs add common parameters to generic get API 2024-07-24 20:55:58 -04:00
IO.hs fix hang at end of PUT to proxied p2p http remote 2024-07-26 19:50:15 -04:00
Protocol.hs oops 2024-07-26 13:54:37 -04:00
Proxy.hs clean shut down of cluster connection when PUT is interrupted 2024-07-28 14:20:11 -04:00