git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] http-fetch: Disable use of curl multi support for libcurl < 7.16.

From
AJAlexandre Julliard <julliard@winehq.org>
Date
May 2, 2007, 12:53 UTC
Message-ID
<87slafs7y4.fsf@wine.dyndns.org>

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>
---
 http.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/http.h b/http.h
index 324fcf4..69b6b66 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
-- 
1.5.2.rc1.4.g8c87-dirty

-- 
Alexandre Julliard
julliard@winehq.org
Next: Junio C Hamano
Message 1 of 3 in “http-fetch: Disable use of curl multi support for libcurl < 7.16.”
  1. http-fetch: Disable use of curl multi support for libcurl < 7.16.Alexandre Julliard, May 2, 2007
  2. Junio C HamanoMay 2, 2007
  3. Alexandre JulliardMay 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.