git-annex/P2P/Http
Joey Hess ad025b8e5e
clean up protocol version for proxying
The proxy always checks the protocol version of a remote before talking
to it in a version-specific way, so the protocol version in the ProxyParams
is the client's protocol version. The remote will always be at the same or
an older protocol version than the client.

Note that in relayDATAFinish, when the client is at protocol version 0,
the remote must thus be as well, and that's why its version is not
checked in the case for that.

With that clarified, it's evident that, in P2P.Http.State, there's no
need to look at the proxied remote's protocol version at all.
2024-07-26 13:49:05 -04:00
..
Client.hs p2phttp drop supports checking proof timestamps 2024-07-25 10:11:09 -04:00
Server.hs fix hang in GET from http p2p proxy 2024-07-26 12:51:00 -04:00
State.hs clean up protocol version for proxying 2024-07-26 13:49:05 -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