commit | 605a0ab2e1bbaba36e3d275e22b066238f87b4cb | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Mon Sep 03 12:55:50 2012 +0000 |
committer | Valentin Bartenev <vbart@nginx.com> | Mon Sep 03 12:55:50 2012 +0000 |
tree | 3cf885ec8cbe4425d9e4875e64abc474a631c900 | |
parent | 7ee8de668c4a3d337eb3997a258e4e40adaf069c [diff] |
Limit req: fix of rbtree node insertion on hash collisions. The rbtree used in ngx_http_limit_req_module has two level of keys, the top is hash, and the next is the value string itself. However, when inserting a new node, only hash has been set, while the value string has been left empty. The bug was introduced in r4419 (1.1.14). Found by Charles Chen.