Igor Sysoev
622721a598
an excess was logged as 0.000 if requests were limited without delay:
...
*) use a real excess value instead of non-updated limit_req rbtree node field,
*) move inactivity queue handling inside ngx_http_limit_req_lookup()
since the node is not required outside the lookup function;
the bug has been introduced in r3184
2010-10-13 20:58:41 +00:00
Igor Sysoev
fbb262533f
fix delay in limit_req
2010-05-24 07:43:39 +00:00
Igor Sysoev
4efbd6ab36
fix r3184
2009-10-06 16:08:15 +00:00
Igor Sysoev
6624c62742
limit_req_log_level
2009-10-06 10:14:21 +00:00
Igor Sysoev
5d4b802370
make limit_req to conform to the leaky bucket algorithm
2009-10-06 09:37:18 +00:00
Igor Sysoev
d6bb7ea591
style fix
2009-07-09 14:03:12 +00:00
Igor Sysoev
a4eb3f0e02
fix client write event handling in ngx_http_limit_req_module
2009-07-09 14:02:09 +00:00
Igor Sysoev
260c4321d7
return NULL instead of NGX_CONF_ERROR on a create conf failure
2009-06-02 16:09:44 +00:00
Igor Sysoev
f7a08d5f9a
support attaching to an existent Win32 shared memory
2009-04-18 19:27:28 +00:00
Igor Sysoev
c7f876bd4c
move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memory
2009-04-16 19:25:09 +00:00
Igor Sysoev
2766157b02
delete duplicate error logging
2009-03-27 19:32:55 +00:00
Igor Sysoev
a2c8d9a0a8
improve ngx_slab_alloc() error logging
2009-03-27 17:00:42 +00:00
Igor Sysoev
ba206e147c
*) add zone name while logging 503 error reason
...
*) log allocation error as 503 error reason
2008-12-08 14:18:06 +00:00
Igor Sysoev
54fd0bb613
update comment
2008-12-08 14:15:19 +00:00
Igor Sysoev
61591d111f
rename "lz" to "lr" in variable names
2008-12-08 14:13:36 +00:00
Igor Sysoev
b4407c27cb
use integer instead of float
2008-11-14 13:25:44 +00:00
Igor Sysoev
c3d5410c77
change rate to an excess
2008-11-14 11:32:03 +00:00
Igor Sysoev
40cc949c7b
*) correct leaky bucket implementation
...
*) now burst is not per second
*) remove delay= parameter
*) add nodelay parameter
2008-11-11 15:38:16 +00:00
Igor Sysoev
abe378e820
ngx_http_limit_req_module
2008-11-10 15:22:33 +00:00