curl-users
Re: Curl and Timeout
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 3 Jun 2012 00:12:45 +0200 (CEST)
Date: Sun, 3 Jun 2012 00:12:45 +0200 (CEST)
On Mon, 28 May 2012, Hagimeno wrote:
> In the example below, the -m should return timeout if the "whole" operation
> take more than 5 seconds. Instead, curl seems truncate the upload of each
> single file.
Yes. It is a bit of a language problem in the manual. "The whole operation"
refers to the single whole operation, but it goes the same for each single
whole operation and every single URL that you make curl operate on will serve
as a "whole operation".
So yes, if you specify three URLs the maximum time the command line will run
will be the given -m period times three...
If you have ideas on how to improve the manual to make this more obvious then
please let us know!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-06-03