curl-library
Re: How to list easy handles from a multi handle
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 3 Jun 2016 22:36:50 +0200 (CEST)
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.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-06-03