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

curl-and-php

Re: --limit-rate function in PHP

From: Tijnema ! <tijnema_at_gmail.com>
Date: Mon, 12 Mar 2007 14:16:10 +0100

On 3/12/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Mon, 12 Mar 2007, Tijnema ! wrote:
>
> > Is there any way I can use the --limit-rate function in PHP? I can't
> find a
> > right value for the curl_setopt function.
>
> CURLOPT_MAX_SEND_SPEED_LARGE and CURLOPT_MAX_RECV_SPEED_LARGE
>
> Added in libcurl 7.15.5

Thank you for your fast response, But what values to pass to it?
I want to let it upload 10k/s, do i set CURLOPT_MAX_SEND_SPEED_LARGE to
10240?

Tijnema

--
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
> _______________________________________________
> 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-03-12