git-annex/P2P/Http
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
..
Client.hs remove uuid from annex+http urls 2024-07-28 20:29:42 -04:00
Server.hs cleanly close proxy connection on interrupted PUT 2024-07-29 10:37:19 -04:00
State.hs fix reversion in GET from proxy over http 2024-07-29 11:07:09 -04:00
Types.hs fix build without servant 2024-07-24 15:13:02 -04:00
Url.hs remove unused imports 2024-07-28 21:11:23 -04:00