On Fri, 12 Mar 2010, Eric Nadler wrote:
I'm using an old version of libcurl, version 7.16.2. I have things working
under most conditions (libcurl has been a blessing!). I just saw this
unexpected situation once.
From the logging I have for my application, it looks like I had just entered
into an FTP curl_easy_perform. My network was disconnected before I even
got my first debug callback with CURLINFO_TEXT which usually looks something
like this:
Re-using existing connection! (#0) with host 10.1.0.253
So I'm assuming I disconnect just at the beginning of
curl_easy_perform before it really got going. My issue is that I
never had my progress function called and the curl_easy_perform "hung"
for minutes.
...
I saw this fix in the change log in the current version, could this help me
out? I can look into upgrading our libcurl if that will work better for
this situation. progress meter/callback during FTP connection
Yes, we fixed several cases of not calling the progress meter while waiting
for things in the most recent release and quite possibly we might've fixed
other related bugs since the release you're using.
Please, try the latest version and see how that runs!
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html