]> git.kaiwu.me - nginx.git/commit
Limit req: rate should be non-zero.
authorValentin Bartenev <vbart@nginx.com>
Wed, 3 Apr 2013 14:13:35 +0000 (14:13 +0000)
committerValentin Bartenev <vbart@nginx.com>
Wed, 3 Apr 2013 14:13:35 +0000 (14:13 +0000)
commitd88dffbf1addbb8315f3815cfd271557baae44eb
tree45531456d5add4f13af3a83c26cf23958bb31793
parent600f9d3ea857297cf19d4055d72335c2a24594f7
Limit req: rate should be non-zero.

Specifying zero rate caused division by zero when calculating delays.
src/http/modules/ngx_http_limit_req_module.c