comparison src/http/modules/ngx_http_log_module.c @ 410:a8e3f1441eec NGINX_0_7_17

nginx 0.7.17 *) Feature: now the "directio" directive works on Linux. *) Feature: the $pid variable. *) Bugfix: the "directio" optimization that had appeared in 0.7.15 did not work with open_file_cache. *) Bugfix: the "access_log" with variables did not work on Linux; the bug had appeared in 0.7.7. *) Bugfix: the ngx_http_charset_module did not understand quoted charset name received from backend.
author Igor Sysoev <http://sysoev.ru>
date Mon, 15 Sep 2008 00:00:00 +0400
parents 79c5df00501e
children b246022ef454
comparison
equal deleted inserted replaced
409:f6561f721532 410:a8e3f1441eec
428 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); 428 ngx_memzero(&of, sizeof(ngx_open_file_info_t));
429 429
430 of.log = 1; 430 of.log = 1;
431 of.valid = llcf->open_file_cache_valid; 431 of.valid = llcf->open_file_cache_valid;
432 of.min_uses = llcf->open_file_cache_min_uses; 432 of.min_uses = llcf->open_file_cache_min_uses;
433 of.directio = NGX_MAX_OFF_T_VALUE;
433 434
434 if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool) 435 if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool)
435 != NGX_OK) 436 != NGX_OK)
436 { 437 {
437 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, 438 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno,