improve p2p protocol implementation

Tested it in ghci a little now.
This commit is contained in:
Joey Hess 2016-11-20 16:42:18 -04:00
parent 74691ddf0e
commit 9cf9ee73f5
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
3 changed files with 25 additions and 17 deletions

View file

@ -46,6 +46,6 @@ server th@(TransportHandle (LocalRepo r) _) = do
h <- socketToHandle conn ReadWriteMode
hSetBuffering h LineBuffering
hSetBinaryMode h False
runNetProtoHandle h r (serve u)
runNetProtoHandle h h r (serve u)
hClose h