aboutsummaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorMika Fischer <mika.fischer@zoopnet.de>2011-11-04 15:19:26 +0100
committerJunio C Hamano <gitster@pobox.com>2011-11-04 10:46:56 -0700
commiteb56c82163487fe07ba04f2b365a557282cbd766 (patch)
tree61d97e76d9eb7415bf1db9e29ecffe6f2c88c2ca /http.h
parent6f9dd67ffea3e86276a73e522ce1186a99bbe65d (diff)
downloadgit-eb56c82163487fe07ba04f2b365a557282cbd766.tar.gz
git-eb56c82163487fe07ba04f2b365a557282cbd766.tar.xz
http.c: Use timeout suggested by curl instead of fixed 50ms timeout
Recent versions of curl can suggest a period of time the library user should sleep and try again, when curl is blocked on reading or writing (or connecting). Use this timeout instead of always sleeping for 50ms. Signed-off-by: Mika Fischer <mika.fischer@zoopnet.de> Helped-by: Daniel Stenberg <daniel@haxx.se> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
0 files changed, 0 insertions, 0 deletions