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

curl-and-php

Re: --limit-rate function in PHP

From: Tijnema ! <tijnema_at_gmail.com>
Date: Wed, 14 Mar 2007 15:03:11 +0100

On 3/14/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 14 Mar 2007, Tijnema ! wrote:
>
> > I meant to say that i passed the integer value 145 to curl_setopt (didn't
> > return false)
>
> That sounds like a bug in curl_setopt().
>
> >> The integer value is probably wrong. 30145 is the correct value, iirc.
> > I just tried this value, but it doesn't work either.
>
> Why not?

It does exactly the same as when i enter 145, curl_setopt() doesn't
return false too.
It returns true, but the speed is still at max.

>
> > I checked the curl files in the include dir and it says somewhere:
> > CINIT(MAX_SEND_SPEED_LARGE, OFF_T, 145),
>
> > So, that's where i got that 145 from, but i don't know what CINIT does
> > actually, it might add some value to 145, but it's not 30000 :)
>
> Then you know something that I don't.
I'm only guessing :P, i have no idea what you know :)
But sure if you think you are right, you probably are :)

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-14