git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bryan Larsen <bryan@larsen.st>
To: git@vger.kernel.org
Subject: CURL_MULTI doesn't work on Mac OS X darwinports
Date: Sun, 18 Feb 2007 15:11:51 -0500	[thread overview]
Message-ID: <45D8B307.4070003@larsen.st> (raw)

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)

                 reply	other threads:[~2007-02-18 20:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D8B307.4070003@larsen.st \
    --to=bryan@larsen.st \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).