git-annex/P2P
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
..
Http add proxied uuids to http server state map 2024-11-20 13:22:25 -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 remove FIXME 2024-08-24 09:34:22 -04:00
Auth.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Http.hs implement put data-present parameter in http servant 2024-10-29 13:32:43 -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 implement DATA-PRESENT in p2p protocol 2024-10-29 13:12:12 -04:00
Proxy.hs fix recording present on the proxy when proxying DATA-PRESENT 2024-10-30 13:17:31 -04:00