servePut and clientPut implementation
authorJoey Hess <joeyh@joeyh.name>
Mon, 22 Jul 2024 14:20:18 +0000 (10:20 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 22 Jul 2024 14:27:44 +0000 (10:27 -0400)
commit4826a3745d857e9de69ac2a56df8522f5d5cf3bd
treeee7a5252889671d62ab0855edfdf7c901fb6d96d
parenteb4fb388bd450b89435c62282442f614f2d542de
servePut and clientPut implementation

Made the data-length header required even for v0. This simplifies the
implementation, and doesn't preclude extra verification being done for
v0.

The connectionWaitVar is an ugly hack. In servePut, nothing waits
on the waitvar, and I could not find a good way to make anything wait on
it.
Annex/Proxy.hs
Command/P2PHttp.hs
P2P/Http.hs
P2P/Http/State.hs
P2P/IO.hs
P2P/Protocol.hs
doc/design/p2p_protocol.mdwn
doc/design/p2p_protocol_over_http/draft1.mdwn
doc/todo/git-annex_proxies.mdwn
servant.hs [deleted file]