On Wed, 20 Sep 2017, ViDyAnAnD NiLLe wrote:
How can i reuse same easyhandle instead of cleaning it up? I tried to call curl_easy_reset and then add it back to multihandle with different URL but its crashing.
That's how you do it, and it isn't supposed to crash. If you run a recent libcurl version I'd encourage you to produce a reproducible example and file a bug.
This said, when you use the multi interface, you don't save very much by re-using easy handles (mostly memory handling) so killing the old handle and creating a new one to add is not a very bad work-around.
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
