curl-and-php
Re: connection not resuming
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Mar 2008 13:48:58 +0100 (CET)
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: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2008-03-04