| |
|
|
|
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: Thu, 7 Sep 2006 23:05:51 +0200 (CEST)
On Thu, 7 Sep 2006, Christian Grade wrote:
> My requirement is/was to have a libcurl module which consumes data (remote
I think it sounds totally crazy. To me, it sounds like you've had made your
When using the multi interface to transfer multiple files, it doesn't make any
> When the necessity arose to even adapt "url.c" (monitored strings) and as I
Well, the multi interface API is not about to change, but the internals are
You will get a slight worry if the stack is more than 1000 simultanoues
> I must have overlooked toUpper( "curlopt_private" ). Keyword 'private'
Yes, libcurl keeps its hands off it. Private for you, the application.
> Now the existence of this option fulfills the *should-at-least-have* part.
Thanks for your conforting words. You sure know how to take people.
> I see three transfer scenarios (downstreaming):
libcurl can of course support them all fine.
> This introduces new data members which one has to care for: book-keeping.
Yeah, sure. You have the data and the URLs in some kind of entities.
> So, one could associate these with 'easy handles' but it would be more
What would be in the multi interface already?
> One would have two lists for the same concept in parallel otherwise.
Two lists of what?
> So, why 'unique' IDs for connections?
There are "unique IDs", not for connections but for transfers. They are called
> When the libcurl module is running, and this practically an infinite mode
In your case, it seems to be yes.
> there's little need to cope with 'easy handles' themselves outside a
The easy handle is the handle to a specific transfer. This is a very common
> The number of maximum simultaneous transfers is 'pretty' constant; naturally
Constant? Yes if you fill up all your RAM and when all your other apps have
> Why would the outside have to care which handle is used for a connection?
Because you want to set specific options for each single transfer. Because you
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-09-07 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info