cURL / Mailing Lists / curl-library / Single Mail


Re: And speaking of data sending bugs...

From: Daniel Stenberg <>
Date: Thu, 14 Feb 2013 10:15:54 +0100 (CET)

On Thu, 14 Feb 2013, Nick Zitzmann wrote:

>> This sounds like expected (and desired) behavior to me. When I set
>> CURLOPT_TIMEOUT on a handle, I'm led to believe by the the documentation
>> that an operation that I initiate on that handle will take at most the
>> value of the timeout. Indeed, the documentation warns that
>> "limiting operations to less than a few minutes risk aborting perfectly
>> normal operations"
>> Perhaps I'm missing something?
> I was under the impression that send operations ought to never time out,
> even if a timeout value was set.

The CURLOPT_TIMEOUT is unconditionally cutting off the operation at the given
time and it should do that no matter what is going on when that timer hits.
Sending data is no exception.

Is there any existing documentation that makes this unclear?

List admin:
Received on 2013-02-14