Does any thing like CURLOPT_CONNECTIONTIMEOUT exists?
I saw an example using CURLOPT_CONNECTIONTIMEOUT
but not explaining what it means, is this a valid parameter? I do not see it o开发者_Go百科n PHP man page for curl_setopt()
.
I believe the option you're looking for is CURLOPT_CONNECTTIMEOUT
.
Edit:
I searched the whole of PHP 5.2.17 and can confirm for you that it doesn't exist. Case closed :)
精彩评论