cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Connection Options

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 2 Apr 2004 11:10:03 +0200 (CEST)

On Thu, 1 Apr 2004, Monica Lau wrote:

> I'm very new to the libcurl library, and I have some questions about the
> timeout conection options. Does anyone know what the default timeout values
> are for the CURLOPT_TIMEOUT and the CURLOPT_CONNECTTIMEOUT values? If no
> timeout value is specified for the CURLOPT_TIMEOUT value, and let's say that
> the web server hangs for some strange reason, would the "curl_easy_perform"
> function block/hang waiting for a response from the web server?

libcurl has no default timeouts for these. When you don't use them, you will
be in the hands of your operating system's timeouts.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-02