cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Does CURLOPT_TIMEOUT includes CURLOPT_CONNECTTIMEOUT.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Jun 2010 14:49:27 +0200 (CEST)

On Wed, 9 Jun 2010, Никита Дорохин wrote:

> Lets say I 'm trying ti upload a file to HTTPs server with POST method. I
> set CURLOPT_CONNECTTIMEOUT value to 10 seconds and CURLOPT_TIMEOUT value to
> 20 seconds. The connection phase took 9 seconds. Do I have 11 seconds for
> remaining for the actual file upload or I have 20 seconds?

11

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-09