]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'sz/maint-curl-multi-timeout'
authorJeff King <peff@peff.net>
Fri, 9 Nov 2012 17:50:56 +0000 (12:50 -0500)
committerJeff King <peff@peff.net>
Fri, 9 Nov 2012 17:50:56 +0000 (12:50 -0500)
Sometimes curl_multi_timeout() function suggested a wrong timeout
value when there is no file descriptors to wait on and the http
transport ended up sleeping for minutes in select(2) system call.
Detect this and reduce the wait timeout in such a case.

* sz/maint-curl-multi-timeout:
  Fix potential hang in https handshake

1  2 
http.c

diff --cc http.c
Simple merge