curl-library
Re: curl_multi_perform usage & easy handle "reset"
Date: Tue, 14 Aug 2007 08:00:45 +0300
On 8/13/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
>
> > Canceling a transfer in the middle could be another sophistication and a
> > separate issue, like curl_multi_stop_handle() ...
>
> Yeah. This made me think on instead providing a single function like:
>
> curl_multi_handle_control()
>
> That can get get told to control the easy handle (while) added to a multi
> handle in various ways:
>
> - RESTART, unconditionally restart this easy handle's transfer from the
> start,
> re-init the state
>
> - RESTART_COMPLETED, restart this easy handle's transfer but only if the
> existing transfer has already completed and it is in a "finished state".
>
> - STOP, just stop this transfer and consider it completed
>
> - PAUSE?
>
> - RESUME?
>
> These are still just ideas and brainstorming...
>
Great!
It is worth adding it to the TODO list unless somebody
is going to start doing it right now.
-- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool.Received on 2007-08-14