cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl quitting from curl_easy_perform but still downloads!

From: Fadi Kahhaleh <fkahhaleh_at_hotmail.com>
Date: Mon, 19 Mar 2012 14:52:29 +0000

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! 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! I would love hear any theories or solutions. ThanksFadi (P.S, a break point in the read function passed to libcurl is not hit after we exit yet the data keeps coming!)

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-19