[PHP] curlopt_timeout default

2007-03-01 Thread Bruce Cowin
I'm using PHP 5.1.2 on IIS. From time to time, my cURL response is empty (i.e., strlen($response) == 0). I'm wondering if it is a timeout issue. If cURL timed out, would you expect an empty response? Also, I want to change curlopt_timeout to see if this helps. But what I can't find is what

Re: [PHP] curlopt_timeout default

2007-03-01 Thread Richard Lynch
On Thu, March 1, 2007 5:16 pm, Bruce Cowin wrote: I'm using PHP 5.1.2 on IIS. From time to time, my cURL response is empty (i.e., strlen($response) == 0). I'm wondering if it is a timeout issue. If cURL timed out, would you expect an empty response? Also, I want to change curlopt_timeout

Re: [PHP] curlopt_timeout default

2007-03-01 Thread Bruce Cowin
Thanks Richard. I'll look into that. And yes, I'm looking at capturing the curl_getinfo() as well. Thanks again. Regards, Bruce Richard Lynch [EMAIL PROTECTED] 2/03/2007 1:36 p.m. On Thu, March 1, 2007 5:16 pm, Bruce Cowin wrote: I'm using PHP 5.1.2 on IIS. From time to time, my cURL

Re: [PHP] curlopt_timeout default

2007-03-01 Thread Bruce Cowin
For anyone who is interested, I found this: libcurl has no default timeouts for these. When you don't use them, you will be in the hands of your operating system's timeouts. at http://curl.haxx.se/mail/lib-2004-04/0027.html Regards, Bruce Bruce Cowin [EMAIL PROTECTED] 2/03/2007 1:59