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,
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`
* 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.