diff options
author | Mika Fischer <mika.fischer@zoopnet.de> | 2011-11-04 15:19:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-04 10:46:56 -0700 |
commit | eb56c82163487fe07ba04f2b365a557282cbd766 (patch) | |
tree | 61d97e76d9eb7415bf1db9e29ecffe6f2c88c2ca /t/t7505-prepare-commit-msg-hook.sh | |
parent | http.c: Use curl_multi_fdset to select on curl fds instead of just sleeping (diff) | |
download | tgif-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 't/t7505-prepare-commit-msg-hook.sh')
0 files changed, 0 insertions, 0 deletions