curl-library
Re: libcurl quitting from curl_easy_perform but still downloads!
Date: Mon, 19 Mar 2012 17:00:53 +0100 (CET)
On Mon, 19 Mar 2012, Fadi Kahhaleh wrote:
Note that you're hijacking another mail thread by replying to a mail and
suddenly talk about something completely different and that is considered bad
form mailing lists. Just changing subject is not enough to prevent that.
> Hi LibCURL group, I am wondering what would cause curl_easy_perform() to
> return (with error code ZERO) and still have the s/w function properly!
It is supposed to return zero when everything went fine!
> What I mean is, I would expect my code not to exit from that method unless
> we are done getting the data-packets via the read function or we return an
> error to forcefully stop. but in my case, the method returns zero, but my
> code (which spawns this in another thread) keeps downloading from the
> internet as it suppose to. very strange!
Sorry but I don't follow this explanation. Can you provide some source code to
show us?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-03-19