cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_perform usage & easy handle "reset"

From: Robert Iakobashvili <coroberti_at_gmail.com>
Date: Fri, 10 Aug 2007 19:26:18 +0200

Davide,

On 8/10/07, Davide Pippa <thepyper_at_gmail.com> wrote:
>
> On 8/10/07, Davide Pippa <thepyper_at_gmail.com> wrote:
>
> Then I suppose reusing an easy handle with multi interfare involves
> removing it after transfer has finished and adding it again to begin a
> new transfer?

Is is not explained explicitly, but this is what we discovered in
curl-loader
and are doing that for a while. Remove is effective, whereas even
curl_reset()
without removal is not helpful.

My guess, that this is more a bug, than a feature ...
We planned to explore it, but only improved the removal to be fast (in
7.16.2), and
always more urgent issues were coming.

It may be related to states and initialization. If you have some time to
explore it,
fix it, propose re-use API, it would be very much appreciated.

-- 
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...........................................................
http://curl-loader.sourceforge.net
A web testing and traffic generation tool.
Received on 2007-08-10