This commit is contained in:
Joey Hess 2016-12-09 13:38:50 -04:00
parent 15be5c04a6
commit 596e1685a6
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -4,16 +4,14 @@ Mostly working!
Current todo list: Current todo list:
* Current use of hGetLine to read protocol messages allows memory DOS by
sending a very long line. May also have line ending problems across OS's.
Switch to instead reading a packed data structure that starts with its
length, and refuse to read messages > 32k.
* When a transfer can't be done because another transfer of the same * When a transfer can't be done because another transfer of the same
object is already in progress, the message about this is output by the object is already in progress, the message about this is output by the
remotedaemon --debug, but not forwarded to the peer, which shows remotedaemon --debug, but not forwarded to the peer, which shows
"Connection reset by peer" "Connection reset by peer"
* Think about locking some more. What happens if the connection to the peer * Think about locking some more. What happens if the connection to the peer
is dropped while we think we're locking content there from being dropped? is dropped while we think we're locking content there from being dropped?
* Make remotedaemon connect to tor peers, notice when their repos have
changed, and pull, like it does for ssh peers.
Eventually: Eventually: