Mailing Lists
| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: cURL timeout in Milliseconds?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 1 Oct 2007 16:54:53 +0200 (CEST)
On Mon, 1 Oct 2007, Suleman Butt wrote:
> But i want curl_setopt($ch2, CURLOPT_TIMEOUT, 500/1000); // 0.5 seconds or
I figure that's an integer operation and then 500/1000 = 0.
The only solution to your problem is the CURLOPT_TIMEOUT_MS option.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-10-01 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info