cURL / Mailing Lists / curl-library / Single Mail


Re: curl_easy_reset and curl_multi_remove_handle

From: Daniel Stenberg <>
Date: Fri, 16 Dec 2011 11:39:15 +0100 (CET)

On Mon, 12 Dec 2011, sandeep a wrote:

> once I create a multi-handle using curl_multi_init() then, I do a
> curl_easy_init() followed by curl_multi_add_handle(), followed by
> curl_multi_perform().
> Having said that, If I want to re-use the same easy-handle(which I added to
> the multi-handle) do I need to call curl_multi_remove_handle() and then
> again curl_multi_add_handle()

You need to remove it and add it again to make a new transfer, yes.

Presumably you also set some new options after you removed it and before you
add it again.

List admin:
Received on 2011-12-16