| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: [SAD TRUTH] does curl_multi handle can be accessed from 2 threads?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 9 Sep 2006 20:32:43 +0200 (CEST)
On Sat, 9 Sep 2006, Christian Grade wrote:
> I don't know anything about the impact of an implementation of http
It doesn't change that much, but of course some requests may need to get
> I quoted the one responsible on "major overhaul". It sounded as if
That one was me and the added pipelining support has changed lots of
This change is now in CVS HEAD.
> There *might* be a good reason not to take the approach of using keys
Can you please give me a real use-case example where such an API would be used
> Identifying data only by an 'easy handle' seems a shortsighted approach
First, consider that libcurl works and has worked for many years, long before
Even if the libcurl API doesn't work the way you would have designed it, it
Calling things you clearly don't understand for "shortsighted" is nothing but
libcurl is open source and a community effort that have developed over many
> And in a multi-threaded application, everything is modeled around shared
The multi interface is not designed to be used multi-threaded. On the
> It's so obvious: if a transfer is enqueued, waiting for actual transfer,
In libcurl you don't have an "enqueued" transfer like that, so I'm not sure
> A consequence is the need to make those entities local to 'a' or 'the'
Sorry. I don't understand it at all.
> In my case, I don't see the scenario "I need to stream three files off the
And how is that relevant to this discussion?
> Of course libcurl can support the three scenarios I mentioned fine ("file",
Yes, libcurl only does the transfers. You do the rest.
> The next natural advance of an interface includes simplification while
In my view, that is what libcurl does.
> "Name user interface thingies according to the perception of the user, not
Yes, you could've argued that here on the list back when we added the option
And you're the first person ever to complain about this (too).
> setopt( hSingle, CURLOPT_GIMME_REDIRECTIONS, &first_node );
?
I read over my reply here and I can't help asking myself: what do you want?
I won't reply to further emails in this style unless you present something
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-09-09 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info