cURL / Mailing Lists / curl-library / Single Mail


Re: How to list easy handles from a multi handle

From: Daniel Stenberg <>
Date: Fri, 3 Jun 2016 22:36:50 +0200 (CEST)

On Fri, 3 Jun 2016, Jeroen Ooms wrote:

> Another approach: is it legal to call curl_multi_remove_handle() with an
> easy handle that was already removed earlier from the multi handle? What
> would be the expected response code?

It'll just immediately return CURLM_OK.

> Is it legal to call curl_multi_remove_handle with an easy handle that was
> never added to this multi handle in the first place?

Yes, and it has the same effect as above as it is a "detached" easy handled.
Never added or already removed looks the same.

List admin:
Received on 2016-06-03