]> git.kaiwu.me - nginx.git/commit
an excess was logged as 0.000 if requests were limited without delay:
authorIgor Sysoev <igor@sysoev.ru>
Wed, 13 Oct 2010 20:58:41 +0000 (20:58 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 13 Oct 2010 20:58:41 +0000 (20:58 +0000)
commit622721a598e272ccea54dba8dda2b89227f0d372
treef7a3e5dc4bab9fae81d5f58fc65f4095fc1410e4
parent824856fc10b5580fcd047fc8db0e4c3f133f60e6
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
src/http/modules/ngx_http_limit_req_module.c