git-annex/P2P
Joey Hess 5e205f215d
clean shut down of cluster connection when PUT is interrupted
An interrupted `git-annex copy --to` a cluster via the http server,
when repeated, failed. The http server output "transfer already in
progress, or unable to take transfer lock". Apparently a second
connection was opened to the cluster, because the first connection
never got shut down.

Turned out the problem was that when proxying to a cluster, it would read a
short ByteString from the client, and send that to the nodes. But that left the
nodes warning more. Meanwhile, the proxy was expecting a SUCCESS/FAILURE
message from the nodes. So it didn't return, and so the cluster connection
stayed open.
2024-07-28 14:20:11 -04:00
..
Http clusters need enableInteractiveBranchAccess 2024-07-28 12:39:42 -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