cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Detect failed donwloads

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Feb 2014 08:27:17 +0100 (CET)

On Mon, 17 Feb 2014, Ruslan Gaifulin wrote:

> What must I check?

curl_multi_info_read()

> I figured that download stops after a long connection fail time, let's say,
> about 2 minutes or more. If I disconnect a network for 10-30 sec downloading
> resumes.

A long pause is not a TCP error:
http://curl.haxx.se/docs/faq.html#Why_doesn_t_cURL_return_an_error

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-17