Joey Hess
83ea1cec86
update progress meter when sending to p2p remote
...
This commit was sponsored by Thom May on Patreon.
2016-12-07 13:37:35 -04:00
Joey Hess
bb5168e894
need to auth with the peer
2016-12-06 15:50:02 -04:00
Joey Hess
f744bd5391
refactor
2016-12-06 15:43:03 -04:00
Joey Hess
c29f2e262a
catch non-IO exceptions too
2016-12-02 14:16:50 -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
3ed8895a09
fix build
2016-11-24 16:36:16 -04:00
Joey Hess
b08799893f
reorg
2016-11-22 14:37:09 -04:00