aboutsummaryrefslogtreecommitdiff
path: root/RemoteDaemon
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-08 15:15:29 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-08 15:15:29 -0400
commit1e7d212d4c0112e5b6b4872d84934fc85aa70315 (patch)
tree8d7fc2c2a8441715ff22b0b64e53c198b8d2786c /RemoteDaemon
parent9fd8e06d35f384b6d24cf6c8a976e2af79be177d (diff)
fix laziness problem in git relaying
The switch to hGetMetered subtly changed the laziness of how DATA was read, and broke git protocol relaying. Fix by sending received data to the git process's stdin immediately, which ensures that the lazy bytestring is all read from the peer before going on to process the next message from the peer.
Diffstat (limited to 'RemoteDaemon')
0 files changed, 0 insertions, 0 deletions