curl-library
Re: Limiting the max time allowed to take connection + transfer operation?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 16 Aug 2009 14:19:53 +0200 (CEST)
Date: Sun, 16 Aug 2009 14:19:53 +0200 (CEST)
On Sun, 16 Aug 2009, Akira Kitada wrote:
> libcurl provides two way of configuring how many time it can be allowed to
> take in its operation.
>
> * CURLOPT_TIMEOUT(_MS)
> * CURLOPT_CONNECTTIMEOUT(_MS)
>
> These options are very handy but in most cases, it doesn't matter in what
> operation libcurl took 400ms, rather I'd like to limit libcurl to take for
> connection+transfer.
That's exactly what CURLOPT_TIMEOUT is for!
-- / daniel.haxx.seReceived on 2009-08-16