Joey Hess
7b7afbbedc
improve Local monad
2016-12-02 13:47:42 -04:00
Joey Hess
15dc63d47f
make sure that the specified number of bytes of DATA are always sent
...
It's possible, in direct or thin mode, that an object file gets
truncated or appended to as it's being sent. This would break the
protocol badly, so make sure never to send too many bytes, and to
close the protocol connection if too few bytes are available.
2016-12-02 13:45:45 -04:00
Joey Hess
3dce6a080e
cleanups
2016-12-01 00:42:01 -04:00
Joey Hess
94dad1e979
more flexible types for Proto runners
...
This will allow a runner in the Annex monad.
2016-12-01 00:27:07 -04:00
Joey Hess
00f48ac407
better comments
2016-11-30 23:54:00 -04:00
Joey Hess
e714e0f67a
actually check p2p authtokens for tor connections
...
This commit was sponsored by Ethan Aubin.
2016-11-30 16:46:02 -04:00
Joey Hess
b88e44ea9a
use P2P auth for git-remote-tor-annex
...
This changes the environment variable name to the more generic
GIT_ANNEX_P2P_AUTHTOKEN.
This commit was sponsored by andrea rota.
2016-11-30 15:26:55 -04:00
Joey Hess
3ab12ba923
implement p2p --link
...
This commit was sponsored by Riku Voipio.
2016-11-30 15:16:25 -04:00
Joey Hess
bfc8305814
implement p2p command
2016-11-30 14:35:24 -04:00
Joey Hess
f86a7f673c
comments
2016-11-29 17:33:49 -04:00
Joey Hess
38425fdc39
finish git-annex enable-tor
...
Make it stash the address away for git-annex p2p to use later, rather
than outputting it. And, look up the UUID itself.
2016-11-29 17:30:27 -04:00
Joey Hess
3ed8895a09
fix build
2016-11-24 16:36:16 -04:00
Joey Hess
158ef45d76
add P2P.Auth
2016-11-22 14:37:50 -04:00
Joey Hess
b08799893f
reorg
2016-11-22 14:37:09 -04:00