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>
Alexandre Julliard committed
May 2, 2007 at 14:53 UTC
9cf04301b182c4c57d62ea63554d109db613f9d3
1 file changed
+1
-1
http.h
+1
-1
@@ -6,7 +6,7 @@
6
#include <curl/curl.h>
7
#include <curl/easy.h>
8
9
-#if LIBCURL_VERSION_NUM >= 0x070908
9
+#if LIBCURL_VERSION_NUM >= 0x071000
10
#define USE_CURL_MULTI
11
#define DEFAULT_MAX_REQUESTS 5
12
#endif