Kumar
Kumar

Reputation: 5147

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 on PHP man page for curl_setopt().

Upvotes: 1

Views: 458

Answers (1)

Prisoner
Prisoner

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

Related Questions