Write a speed-limit module, any suggestion?

supergui nginx-forum at nginx.us
Mon Jul 20 10:46:30 MSD 2009

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

More information about the nginx mailing list