Reputation: 5147
I saw an example using CURLOPT_CONNECTIONTIMEOUT
but not explaining what it means, is this a valid parameter? I do not see it on PHP man page for curl_setopt()
.
Upvotes: 1
Views: 458
Reputation: 27638
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 :)
Upvotes: 1