git-annex/P2P/Http
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
..
Client.hs p2phttp drop supports checking proof timestamps 2024-07-25 10:11:09 -04:00
Server.hs clean up after http p2p proxy GET is interrupted 2024-07-26 15:33:20 -04:00
State.hs clean up after http p2p proxy GET is interrupted 2024-07-26 15:33:20 -04:00
Types.hs fix build without servant 2024-07-24 15:13:02 -04:00
Url.hs fix build without servant 2024-07-24 15:13:02 -04:00