git-annex/P2P
Joey Hess 267a202e72
clean up after http p2p proxy GET is interrupted
There was an annex worker thread that did not get stopped.

It was stuck in ReceiveMessage from the P2PHandleTMVar.

Fixed by making P2PHandleTMVar closeable.

In serveGet, releaseP2PConnection has to come first, else the
annexworker may not shut down, if it's waiting to read from it.

In proxyConnection, call closeRemoteSide in order to wait for the ssh
process (for example).
2024-07-26 15:33:20 -04:00
..
Http clean up after http p2p proxy GET is interrupted 2024-07-26 15:33:20 -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 clean up after http p2p proxy GET is interrupted 2024-07-26 15:33:20 -04:00
Protocol.hs oops 2024-07-26 13:54:37 -04:00
Proxy.hs oops 2024-07-26 13:55:14 -04:00