I have set the following:
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);
curl_setopt($ch, CURLOPT_TIMEOUT, 0);
before calling curl_exec($ch)
However, every now and then, I get an error: GOT AN ERROR<br/>Operation timed out after 10002 milliseconds with 0 bytes received<br/>-------<br/>
Seems curl is not respecting the timeout settings. I tried setting the _MS versions also, but to no avail. Please help!