]> git.kaiwu.me - nginx.git/commit
Radix tree preallocation fix.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 18 Aug 2012 23:17:58 +0000 (23:17 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sat, 18 Aug 2012 23:17:58 +0000 (23:17 +0000)
commitc22b87b2e44c061b46faa7f14d1d8ceed4b82204
tree51204c5c9a1d8d37b1b34ef88c9a37e1f2c0a461
parent83e35f6f22e06a32d283b28c66800cd8229cefc7
Radix tree preallocation fix.

The preallocation size was calculated incorrectly and was always 8 due to
sizeof(ngx_radix_tree_t) accidentally used instead of sizeof(ngx_radix_node_t).
src/core/ngx_radix_tree.c