From 758cff0fdeb3c83f1028f2603ccf2da30017e584 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 22 Jul 2024 20:59:45 -0400 Subject: [PATCH] update --- doc/design/p2p_protocol_over_http.mdwn | 2 ++ doc/git-annex-p2phttp.mdwn | 3 ++- doc/todo/git-annex_proxies.mdwn | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/design/p2p_protocol_over_http.mdwn b/doc/design/p2p_protocol_over_http.mdwn index 53863760bc..228f6d734c 100644 --- a/doc/design/p2p_protocol_over_http.mdwn +++ b/doc/design/p2p_protocol_over_http.mdwn @@ -5,6 +5,8 @@ The [[P2P protocol]] is a custom protocol that git-annex speaks over a ssh connection (mostly). This is a translation of that protocol to HTTP. +[[git-annex-p2phttp]] serves this protocol. + ## base64 encoding of keys, uuids, and filenames A git-annex key can contain text in any encoding. So can a filename, diff --git a/doc/git-annex-p2phttp.mdwn b/doc/git-annex-p2phttp.mdwn index 3c45c35d24..50653437d9 100644 --- a/doc/git-annex-p2phttp.mdwn +++ b/doc/git-annex-p2phttp.mdwn @@ -36,7 +36,8 @@ convenient way to download the content of any key, by using the path Port to listen on. Default is port 9417. It is not recommended to run this command as root in order to - use a low port like port 80. + use a low port like port 80. It will not drop permissions when run as + root. * `--authenv` diff --git a/doc/todo/git-annex_proxies.mdwn b/doc/todo/git-annex_proxies.mdwn index 7a068f8478..d1c117bc6d 100644 --- a/doc/todo/git-annex_proxies.mdwn +++ b/doc/todo/git-annex_proxies.mdwn @@ -36,6 +36,9 @@ Planned schedule of work: * Make http server support proxies and clusters. +* `git-annex p2phttp` could support systemd socket activation. This would + allow making a systemd unit that listens on port 80. + * Perhaps: Support cgi program that proxies over to a webserver speaking the http protocol.