cURL / Mailing Lists / curl-and-php / Single Mail


Re: connection not resuming

From: Daniel Stenberg <>
Date: Tue, 4 Mar 2008 13:48:58 +0100 (CET)

On Tue, 4 Mar 2008, Mads Martin Joergensen wrote:

> What curl option would be the correct to set, if I want curl to timeout if
> it's been waiting n seconds on a server reply?

A suitable libcurl option is CURLOPT_CONNECTTIMEOUT.

  Commercial curl and libcurl Technical Support:
Received on 2008-03-04