]> git.kaiwu.me - nginx.git/commit
Fix of rbtree lookup on hash collisions.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 27 Feb 2012 22:15:39 +0000 (22:15 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 27 Feb 2012 22:15:39 +0000 (22:15 +0000)
commit7ca6c1ff782afbb83b9f17d6552566c823247e29
tree9f357793d471ec5655beb15e02e2b72f2f5e7c5e
parent53d9677de451bae3d3da5c1ecbe6fa7b34fa5313
Fix of rbtree lookup on hash collisions.

Previous code incorrectly assumed that nodes with identical keys are linked
together.  This might not be true after tree rebalance.

Patch by Lanshun Zhou.
src/core/ngx_open_file_cache.c
src/core/ngx_resolver.c
src/event/ngx_event_openssl.c
src/http/modules/ngx_http_limit_conn_module.c
src/http/modules/ngx_http_limit_req_module.c
src/http/ngx_http_file_cache.c