cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: cURL timeout in Milliseconds?

From: Suleman Butt <suleman.butt_at_gmail.com>
Date: Mon, 1 Oct 2007 20:50:28 +0200

Thanks Michael,
                       So you mean the existing *curl_setopt()* method will
provide support for *timeout in millisecond*, with the help of
*CURLOPT_TIMEOUT_MS
*option, in the upcoming php build?

And could you also kindly let me know when will this new release be
available?

thanks you both Michael and Daniel.

On 10/1/07, Michael Wallner <mike_at_iworks.at> wrote:
>
> Daniel Stenberg wrote:
> > On Mon, 1 Oct 2007, Suleman Butt wrote:
> >
> >> But I guess CURLOPT_TIMEOUT_MS is not supported in
> php5
> >> with curl_easy_setopt() method? So how can i proceed further?
> >
> > Mike already explained that it is supported, and Mike is a much better
> source
> > for that info than I am.
> >
> > But as said before, the function is not called curl_easy_setopt() in PHP
> but
> > curl_setopt().
>
> Uh... didn't notice there's a new thread about this issue.
> I noticed that CURLOPT_TIMEOUT_MS support is erroneously wrapped in
> #ifdefs, which basically means that this feature is not present in
> currently released PHP versions. I'll talk to the patch committer
> and--at least--fix it for upcoming versions.
>
> --
> Michael
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-10-01