Re: Rate-limiting across connections

2014-11-14 Thread Yichun Zhang (agentzh)
Hello! On Fri, Nov 14, 2014 at 11:31 AM, B.R. wrote: > The limit_rate directive documentation clearly states that it is applied on > a per-request basis. > How would one rate-limit a client over N connections? > It's easy to do if you use ngx_lua module [1] together with the $limit_rate builtin

Re: HttpLuaModule create asynchronous subrequests

2014-11-14 Thread Yichun Zhang (agentzh)
Hello! On Fri, Nov 14, 2014 at 11:20 AM, Guido Accardo wrote: > From the doc of proxy_ignore_client_abort: > > " ... Determines whether the connection with a proxied server should be > closed when a client closes the connection without waiting for a response > ..." > > So basically I'm discarding

Rate-limiting across connections

2014-11-14 Thread B.R.
Hello, The limit_rate directive documentation clearly states that it is applied on a per-request basis. How would one rate-limit a client over N connections? 1. Count all N simultaneous connections from a single client 2.

Re: HttpLuaModule create asynchronous subrequests

2014-11-14 Thread Guido Accardo
Hello, On Thu, Nov 13, 2014 at 5:24 PM, Yichun Zhang (agentzh) wrote: > Hello! > > On Wed, Nov 12, 2014 at 12:20 PM, Guido Accardo wrote: > > > > Here, prod response is sent immediately as I want and dev receives the > > traffic but the connection is closed the I got a Broken Pipe (which makes >

Re: File '/usr/sbin/nginx' seems to be deleted

2014-11-14 Thread Maxim Dounin
Hello! On Fri, Nov 14, 2014 at 12:43:58AM -0500, khav wrote: > @Maxim Dounin > > So a simple service nginx restart would do the job ? This depends on your OS, but likely yes. -- Maxim Dounin http://nginx.org/ ___ nginx mailing list nginx@nginx.org