diff options
author | 2016-12-08 15:15:29 -0400 | |
---|---|---|
committer | 2016-12-08 15:15:29 -0400 | |
commit | 1e7d212d4c0112e5b6b4872d84934fc85aa70315 (patch) | |
tree | 8d7fc2c2a8441715ff22b0b64e53c198b8d2786c /Setup.hs | |
parent | 9fd8e06d35f384b6d24cf6c8a976e2af79be177d (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 'Setup.hs')
0 files changed, 0 insertions, 0 deletions