rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: vbn on October 10, 2010, 03:30:34 AM

Title: Conditional Limits
Post by: vbn on October 10, 2010, 03:30:34 AM
I am trying to implement a solution wherein Anonymous users get speed/connection limits on downloads. However, registered users get full burst.

Is it doable in single instance of HFS or do I need two running, 1 for anonymous and 1 for registered people ?
Title: Re: Conditional Limits
Post by: rejetto on October 10, 2010, 11:56:45 PM
not tested, but may work: press ALT+F6 and past this text

{.set speed limit for connection|{.if not|%user%|100.}.}

anyway this will work correctly since next release (build #271) because i just found some bugs. Wait for it.