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

CURL_MULTI doesn't work on Mac OS X darwinports

From
Bryan Larsen <bryan@larsen.st>
Date
Feb 18, 2007, 20:11 UTC
Message-ID
<45D8B307.4070003@larsen.st>
CURL_MULTI causes a segfault on Mac OS X Darwin with MacPorts.  Disable.
From: Bryan Larsen <bryan@larsen.st>
---
  http.h |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/http.h b/http.h
index 324fcf4..60100a3 100644
--- a/http.h
+++ b/http.h
@@ -6,10 +6,12 @@
  #include <curl/curl.h>
  #include <curl/easy.h>

+#ifndef __DARWIN_UNIX03
  #if LIBCURL_VERSION_NUM >= 0x070908
  #define USE_CURL_MULTI
  #define DEFAULT_MAX_REQUESTS 5
  #endif
+#endif

  #if LIBCURL_VERSION_NUM < 0x070704
  #define curl_global_cleanup() do { /* nothing */ } while(0)
Message 1 of 1 in “CURL_MULTI doesn't work on Mac OS X darwinports”
  1. Bryan LarsenFeb 18, 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.