Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_log_module.c @ 54:bcb5fce0b038 NGINX_0_1_27
nginx 0.1.27
*) Feature: the "blocked" parameter of the "valid_referers" directive.
*) Change: the errors while handling the request header now logged at
"info" level. The server name and the "Host" and "Referer" header
lines also logged.
*) Change: the "Host" header line is also logged in error log.
*) Feature: the proxy_pass_unparsed_uri directive. The special handling
of the "://" symbols in URI, appeared in 0.1.11 version, now is
canceled.
*) Bugfix: nginx could not be built on FreeBSD and Linux, if the
--without-ngx_http_auth_basic_module configuration parameter was
used.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 28 Mar 2005 00:00:00 +0400 |
parents | 72eb30262aac |
children | b55cbf18157e |
comparison
equal
deleted
inserted
replaced
53:b6565ddf033b | 54:bcb5fce0b038 |
---|---|
542 } | 542 } |
543 | 543 |
544 /* | 544 /* |
545 * No header pointer was found. | 545 * No header pointer was found. |
546 * However, some headers: "Date", "Server", "Content-Length", | 546 * However, some headers: "Date", "Server", "Content-Length", |
547 * and "Last-Modified" have a special handling in the header filter | 547 * and "Last-Modified" have a special handling in the header filter, |
548 * but we do not set up their pointers in the filter because | 548 * but we do not set up their pointers in the filter, |
549 * they are too seldom needed to be logged. | 549 * because they are too seldom needed to be logged. |
550 */ | 550 */ |
551 | 551 |
552 if (data == offsetof(ngx_http_headers_out_t, date)) { | 552 if (data == offsetof(ngx_http_headers_out_t, date)) { |
553 return ngx_cached_http_time.len; | 553 return ngx_cached_http_time.len; |
554 } | 554 } |
590 } | 590 } |
591 | 591 |
592 /* | 592 /* |
593 * No header pointer was found. | 593 * No header pointer was found. |
594 * However, some headers: "Date", "Server", "Content-Length", | 594 * However, some headers: "Date", "Server", "Content-Length", |
595 * and "Last-Modified" have a special handling in the header filter | 595 * and "Last-Modified" have a special handling in the header filter, |
596 * but we do not set up their pointers in the filter because | 596 * but we do not set up their pointers in the filter, |
597 * they are too seldom needed to be logged. | 597 * because they are too seldom needed to be logged. |
598 */ | 598 */ |
599 | 599 |
600 if (op->data == offsetof(ngx_http_headers_out_t, date)) { | 600 if (op->data == offsetof(ngx_http_headers_out_t, date)) { |
601 return ngx_cpymem(buf, ngx_cached_http_time.data, | 601 return ngx_cpymem(buf, ngx_cached_http_time.data, |
602 ngx_cached_http_time.len); | 602 ngx_cached_http_time.len); |