summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-08-13 20:18:29 +0200
committerVicent Marti <tanoku@gmail.com>2011-08-18 02:34:10 +0200
commit7adba5f49c5520f591c4e6519c5bea770a3e4b5d (patch)
tree4a5f4a077c420faadbf24a9d9388393087286177 /src/commit.c
parent427ca3d3c5b415c3970759b9334425707497fdf4 (diff)
downloadlibgit2-7adba5f49c5520f591c4e6519c5bea770a3e4b5d.tar.gz
Keep sending want lines if the server doesn't anwer a flush
Some servers take a long time to answer and expect us to keep sending want lines; otherwise they close the connection. Avoid this by waiting for one second for the server to answer. If the timeout runs out, treat is as a NAK and keep sending want lines. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions