author | Mika Fischer <mika.fischer@zoopnet.de> | |
Fri, 4 Nov 2011 14:19:26 +0000 (15:19 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 4 Nov 2011 17:46:56 +0000 (10:46 -0700) | ||
commit | eb56c82163487fe07ba04f2b365a557282cbd766 | |
tree | 61d97e76d9eb7415bf1db9e29ecffe6f2c88c2ca | tree | snapshot |
parent | 6f9dd67ffea3e86276a73e522ce1186a99bbe65d | commit | diff |
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>
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>
http.c | diff | blob | history |