Mercurial > hg > nginx-vendor-0-8
comparison src/core/ngx_palloc.c @ 464:c8cfb6c462ef NGINX_0_7_44
nginx 0.7.44
*) Feature: the ngx_http_proxy_module preliminary cache support.
*) Feature: the --with-pcre option in the configure.
*) Feature: the "try_files" directive is now allowed on the server
block level.
*) Bugfix: the "try_files" directive handled incorrectly a query string
in a fallback parameter.
*) Bugfix: the "try_files" directive might test incorrectly directories.
*) Bugfix: if there is the single server for given address:port pair,
then captures in regular expressions in a "server_name" directive
did not work.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Mar 2009 00:00:00 +0300 |
parents | 88d3e895bdf9 |
children | 207ae3ff0444 |
comparison
equal
deleted
inserted
replaced
463:51cb914e6d3a | 464:c8cfb6c462ef |
---|---|
324 return c; | 324 return c; |
325 } | 325 } |
326 | 326 |
327 | 327 |
328 void | 328 void |
329 ngx_pool_run_cleanup_file(ngx_pool_t *p, ngx_fd_t fd) | |
330 { | |
331 ngx_pool_cleanup_t *c; | |
332 ngx_pool_cleanup_file_t *cf; | |
333 | |
334 for (c = p->cleanup; c; c = c->next) { | |
335 if (c->handler == ngx_pool_cleanup_file) { | |
336 | |
337 cf = c->data; | |
338 | |
339 if (cf->fd == fd) { | |
340 c->handler(cf); | |
341 c->handler = NULL; | |
342 return; | |
343 } | |
344 } | |
345 } | |
346 } | |
347 | |
348 | |
349 void | |
329 ngx_pool_cleanup_file(void *data) | 350 ngx_pool_cleanup_file(void *data) |
330 { | 351 { |
331 ngx_pool_cleanup_file_t *c = data; | 352 ngx_pool_cleanup_file_t *c = data; |
332 | 353 |
333 ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, c->log, 0, "file cleanup: fd:%d", | 354 ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, c->log, 0, "file cleanup: fd:%d", |