summaryrefslogtreecommitdiff
path: root/tests/diff/patch.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-03-24 20:49:57 -0700
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-10 19:58:22 +0100
commit9af1de5bc5b57a68bd659e9f76540c3f569772e8 (patch)
tree3be09aa7602303d1cd04edbb598796868171f8fb /tests/diff/patch.c
parent4c2ca1ba4aebb201d777ee9a2d09daf445290e9f (diff)
downloadlibgit2-9af1de5bc5b57a68bd659e9f76540c3f569772e8.tar.gz
http: stop on server EOF
We stop the read loop when we have read all the data. We should also consider the server's feelings. If the server hangs up on us, we need to stop our read loop. Otherwise, we'll try to read from the server - and fail - ad infinitum.
Diffstat (limited to 'tests/diff/patch.c')
0 files changed, 0 insertions, 0 deletions