Welcome! Log In Create A New Profile

Advanced

Re: Write a speed-limit module, any suggestion?

Grzegorz Sienko
July 21, 2009 11:49AM
Something like this? http://wiki.nginx.org/NginxHttpCoreModule#limit_rate

2009/7/20 Gabriel Ramuglia <gabe@vtunnel.com>:
> There is a rate limit option you can set if you are using reproxy_url.
> There's a header you can set that is supposed to limit the rate of the
> download to whatever you set. So I would look over the documentation
> for reproxy_url and see if that will work for you.
>
> On Sun, Jul 19, 2009 at 11:46 PM, supergui<nginx-forum@nginx.us> wrote:
>> I want to write a module to transfer files to client, but it need to limit the speed of transfer.
>> how can i implement it ?
>>
>> it is likely that i should output one buffer per time, and then check the avg speed before, if expire the setting speed what should i do then?
>>
>> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4234,4234#msg-4234
>>
>>
>>
>
>
Subject Author Posted

Write a speed-limit module, any suggestion?

supergui July 20, 2009 02:46AM

Re: Write a speed-limit module, any suggestion?

Gabriel Ramuglia July 20, 2009 10:27AM

Re: Write a speed-limit module, any suggestion?

Grzegorz Sienko July 21, 2009 11:49AM

Re: Write a speed-limit module, any suggestion?

supergui July 21, 2009 11:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 234
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready