Mercurial > hg > nginx-ranges
comparison src/core/ngx_radix_tree.c @ 410:a094317ba307 NGINX_0_7_14
nginx 0.7.14
*) Change: now the ssl_certificate and ssl_certificate_key directives
have not default values.
*) Feature: the "listen" directive supports the "ssl" parameter.
*) Feature: now nginx takes into account a time zone change while
reconfiguration on FreeBSD and Linux.
*) Bugfix: the "listen" directive parameters such as "backlog",
"rcvbuf", etc. were not set, if a default server was not the first
one.
*) Bugfix: if URI part captured by a "rewrite" directive was used as a
query string, then the query string was not escaped.
*) Bugfix: configuration file validity test improvements.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 01 Sep 2008 00:00:00 +0400 |
parents | f745bf973510 |
children | e7dbea1ee115 |
comparison
equal
deleted
inserted
replaced
409:d46814b99ca0 | 410:a094317ba307 |
---|---|
272 tree->free = tree->free->right; | 272 tree->free = tree->free->right; |
273 return p; | 273 return p; |
274 } | 274 } |
275 | 275 |
276 if (tree->size < sizeof(ngx_radix_node_t)) { | 276 if (tree->size < sizeof(ngx_radix_node_t)) { |
277 tree->start = ngx_palloc(tree->pool, ngx_pagesize); | 277 tree->start = ngx_pmemalign(tree->pool, ngx_pagesize, ngx_pagesize); |
278 if (tree->start == NULL) { | 278 if (tree->start == NULL) { |
279 return NULL; | 279 return NULL; |
280 } | 280 } |
281 | 281 |
282 tree->size = ngx_pagesize; | 282 tree->size = ngx_pagesize; |