cURL / Mailing Lists / curl-library / Single Mail

curl-library

multi API and removing handles

From: Ravi Kasibhatla <kasibhatla.ravi_at_gmail.com>
Date: Mon, 1 Feb 2010 22:20:12 +0530

 Hi,
Is there any way of getting all the easy handles which are added to a
particular curl multi handle? My requirement is that in an error case, I
need to remove all the curl easy handles I have added to a particular multi
handle and re-add them on some specific event action. The closet API I found
was the curl_multi_info_read(), which gives the curl easy handle in the
message.

In my case, when I try to read message from that multi handle, I get the
null message indicating no message from libcurl. I see that for sure that
there are easy handles being processed by that multi handle, because a
curl_multi_perform() on that multi handle always return running_handles
greater than 0. Can somebody guide me on how to get the easy handles on that
multi handle?

Cheers!!!!
phani

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-01