Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorAlexandre Julliard <julliard@winehq.org>2007-05-02 16:53:23 +0400
committerJunio C Hamano <junkio@cox.net>2007-05-04 09:12:40 +0400
commit9cf04301b182c4c57d62ea63554d109db613f9d3 (patch)
tree9c46683432defec26246e21e22f2ca94bf1d0a8f /http.h
parent7a33b0bfced9cfcea785dac5ddf189d937a42446 (diff)
http-fetch: Disable use of curl multi support for libcurl < 7.16.
curl_multi_remove_handle() is broken in libcurl < 7.16, in that it doesn't correctly update the active handles count when a request is aborted. This causes the transfer to hang forever waiting for the handle count to become less than the number of active requests. Signed-off-by: Alexandre Julliard <julliard@winehq.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.h b/http.h
index 324fcf4f54..69b6b667d9 100644
--- a/http.h
+++ b/http.h
@@ -6,7 +6,7 @@
#include <curl/curl.h>
#include <curl/easy.h>
-#if LIBCURL_VERSION_NUM >= 0x070908
+#if LIBCURL_VERSION_NUM >= 0x071000
#define USE_CURL_MULTI
#define DEFAULT_MAX_REQUESTS 5
#endif