Klaus Demo nginx / c22b87b
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). Maxim Dounin 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5959 */
6060
6161 if (preallocate == -1) {
62 switch (ngx_pagesize / sizeof(ngx_radix_tree_t)) {
62 switch (ngx_pagesize / sizeof(ngx_radix_node_t)) {
6363
6464 /* amd64 */
6565 case 128: