comparison src/http/modules/ngx_http_log_module.c @ 416:b4f69f2ef02c NGINX_0_7_20

nginx 0.7.20 *) Changes in the ngx_http_gzip_filter_module. *) Feature: the ngx_http_limit_req_module. *) Bugfix: worker processes might exit on a SIGBUS signal on sparc and ppc platforms; the bug had appeared in 0.7.3. Thanks to Maxim Dounin. *) Bugfix: the "proxy_pass http://host/some:uri" directives did not work; the bug had appeared in 0.7.12. *) Bugfix: in HTTPS mode requests might fail with the "bad write retry" error. *) Bugfix: the ngx_http_secure_link_module did not work inside locations, whose names are less than 3 characters. *) Bugfix: $server_addr variable might have no value.
author Igor Sysoev <http://sysoev.ru>
date Mon, 10 Nov 2008 00:00:00 +0300
parents b246022ef454
children a8424ffa495c
comparison
equal deleted inserted replaced
415:5410f1e19796 416:b4f69f2ef02c
431 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); 431 ngx_memzero(&of, sizeof(ngx_open_file_info_t));
432 432
433 of.log = 1; 433 of.log = 1;
434 of.valid = llcf->open_file_cache_valid; 434 of.valid = llcf->open_file_cache_valid;
435 of.min_uses = llcf->open_file_cache_min_uses; 435 of.min_uses = llcf->open_file_cache_min_uses;
436 of.directio = NGX_MAX_OFF_T_VALUE; 436 of.directio = NGX_OPEN_FILE_DIRECTIO_OFF;
437 437
438 if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool) 438 if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool)
439 != NGX_OK) 439 != NGX_OK)
440 { 440 {
441 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, 441 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno,