diff options
author | 2014-11-04 15:22:08 -0400 | |
---|---|---|
committer | 2014-11-04 15:22:08 -0400 | |
commit | ff7715768f839e9eba0e7e7b135dc6ebea6602a4 (patch) | |
tree | edfb4c3b4a6cbfdcdc4bdccf34f38a6a6c75aa51 /Remote/Helper/Git.hs | |
parent | 03af2efd4f6519c612b3354e7538c89b65e07691 (diff) |
fix memory leak
Unfortunately, I don't fully understand why it was leaking using the old
method of a lazy bytestring. I just know that it was leaking, despite
neither hGetUntilMetered nor byteStringPopper seeming to leak by
themselves.
The new method avoids the lazy bytestring, and simply reads chunks from the
handle and streams them out to the http socket.
Diffstat (limited to 'Remote/Helper/Git.hs')
0 files changed, 0 insertions, 0 deletions