curl-library
Re: Can someone explain why curl_easy_reset is not working?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 24 May 2014 17:44:03 +0200 (CEST)
Date: Sat, 24 May 2014 17:44:03 +0200 (CEST)
On Sat, 24 May 2014, Jonathan C. wrote:
> However, looks like it's not resetting the handler, I tested it doing a
> request, resetting it, and calling perform immediately after (the perform
> method adds the handler to the internal multi curl instance).
>
> Expected result: An error is thrown, because there is no url set for given handler.
> Current result: It does another request to the url set previously.
Now that is an excellent test and I think the reason for this behavior is
simply that it doesn't actually reset the URL! This is in fact a bug as far as
I can tell, even if I don't think it is a very critical one. It does reset all
(most?) other options.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-05-24