cURL / Mailing Lists / curl-library / Single Mail


Re: curl help about the time out

From: Julien Chaffraix <>
Date: Sun, 13 Feb 2011 09:24:12 -0800


> But I hope that each visit can be done within 5 second.

There are several CURLOPT_*TIMEOUT options that could match. My
reading is that you want the whole transfer to be at most 5 seconds,
in which case CURLOPT_TIMEOUT is your friend. Make sure you read the
documentation (
before using it as there are some caveats and you may prefer another
timeout option.

Hope it helps,
List admin:
Received on 2011-02-13