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

curl-and-php

Re: connection not resuming

From: Daniel Stenberg <daniel_at_haxx.se>
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-php
Received on 2008-03-04