curl-and-php
Re: --limit-rate function in PHP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Mar 2007 14:44:41 +0100 (CET)
Date: Wed, 14 Mar 2007 14:44:41 +0100 (CET)
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?
> 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 nknow what CINIT does
> actually, it might add some value to 145, but it's not 30000 :)
Then you know something that I don't.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-03-14