cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libcurl quitting from curl_easy_perform but still downloads!

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Mar 2012 22:47:48 +0100 (CET)

On Mon, 19 Mar 2012, Fadi Kahhaleh wrote:

Please don't top-post.

> I am connecting to a local server and supposed to download a VERY large
> file.the strange thing is that curl_easy_perform returns ZERO way too close
> (i.e only just a little has been downloaded) What would cause it to
> disconnect?

Use CURLOPT_VERBOSE or a network analyzer to figure that out. If it returned
zero, it means libcurl couldn't detect a problem which is unusual (but could
be perfectly normal).

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