git-annex/P2P/Http
Joey Hess 07026cf58b
add proxied uuids to http server state map
This fixes support for proxying after last commit broke it.

Note that withP2PConnections is called at server startup, and so only
proxies seen at that point will appear in the map and be used. It was
already the case that a proxy added after p2phttp was running would not
be served.

I think that is possibly a bug, but at least this commit doesn't
introduce the problem, though it might make it harder to fix it.

As bugs go, it's probably not a big deal, because after all,
git configs needs to be set in the local repository, followed by
git-annex updateproxy being run, to set up proxying. If someone is doing
that, they can restart their http server I suppose.
2024-11-20 13:22:25 -04:00
..
Client.hs reuse http url password for p2phttp url when on same host 2024-11-19 15:27:26 -04:00
Server.hs p2pHttpApp with a map of UUIDs to server states 2024-11-20 12:51:25 -04:00
State.hs add proxied uuids to http server state map 2024-11-20 13:22:25 -04:00
Types.hs update http servant for p2p protocol version 4 2024-10-29 12:13:56 -04:00
Url.hs reuse http url password for p2phttp url when on same host 2024-11-19 15:27:26 -04:00