This commit is contained in:
Joey Hess 2024-07-22 20:59:45 -04:00
parent 06de2ad972
commit 758cff0fde
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 7 additions and 1 deletions

View file

@ -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,

View file

@ -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`

View file

@ -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.