cURL / Mailing Lists / curl-library / Single Mail


Re: Curl Timeout setting

From: Jeff Pohlmeyer <>
Date: Tue, 7 Aug 2012 02:20:33 -0500

On Tue, Aug 7, 2012 at 12:28 AM, Nitin Kumar Saxena <> wrote:

> I only need to detect network drop in between a curl transfer. At first, I
> used CURLOPT_TIMEOUT but it seems to consider complete transfer time(which
> is indeterminate in this case and can take multiple minutes) rather than
> time in between two response chunks.

> Is there any libcurl option to detect netwrk drop and solve this issue ?

There is no option in curl to "detect network drop" but you can use
together to better control the timeout behavior.


 - Jeff
List admin:
Received on 2012-08-07