implemented git-annex-shell p2pstdio
Not yet used by git-annex, but this will allow faster transfers etc than using individual ssh connections and rsync. Not called git-annex-shell p2p, because git-annex p2p does something else and I don't want two subcommands with the same name between the two for sanity reasons. This commit was sponsored by Øyvind Andersen Holm.
This commit is contained in:
parent
fa5b19f0ff
commit
6ddfa9807b
10 changed files with 110 additions and 11 deletions
|
@ -3,7 +3,7 @@ communicate between peers.
|
|||
|
||||
There's a common line-based serialization of the protocol, but other
|
||||
serializations are also possible. The line-based serialization is spoken
|
||||
by [[git-annex-shell], and by [[git-annex-remotedaemon]] when serving tor.
|
||||
by [[git-annex-shell], and by git-annex over tor.
|
||||
|
||||
One peer is known as the client, and is the peer that initiates the
|
||||
connection. The other peer is known as the server, and is the peer that the
|
||||
|
@ -29,6 +29,10 @@ connection.
|
|||
AUTH_SUCCESS UUID
|
||||
AUTH_FAILURE
|
||||
|
||||
Note that authentication does not guarantee that the client is talking to
|
||||
who they expect to be talking to. This, and encryption of the connection,
|
||||
are handled at a lower level.
|
||||
|
||||
## Errors
|
||||
|
||||
Either the client or the server may send an error message at any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue