diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-03-22 16:02:46 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-03-22 16:02:46 +0000 |
commit | 4d656dcd0bd6309b0ec76fc444198ed6c2948a8e (patch) | |
tree | 67ce201b7d515273fa2a6a617542cece4fa16898 /src/http/ngx_http_upstream.c | |
parent | 3599a1b885533d929315494258fb407765243a95 (diff) | |
download | nginx-4d656dcd0bd6309b0ec76fc444198ed6c2948a8e.tar.gz nginx-4d656dcd0bd6309b0ec76fc444198ed6c2948a8e.zip |
nginx-0.1.26-RELEASE importrelease-0.1.26
*) Change: the invalid client header lines are now ignored and logged
at the info level.
*) Change: the server name is also logged in error log.
*) Feature: the ngx_http_auth_basic_module module and the auth_basic
and auth_basic_user_file directives.
Diffstat (limited to 'src/http/ngx_http_upstream.c')
-rw-r--r-- | src/http/ngx_http_upstream.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 3076df7de..0624c0f9a 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1148,9 +1148,11 @@ ngx_http_upstream_log_error(ngx_log_t *log, u_char *buf, size_t len) peer = &u->peer; p = ngx_snprintf(buf, len, - " while %s, client: %V, URL: %V, upstream: %V%V%s%V", + " while %s, client: %V, host: %V, URL: \"%V\"," + " upstream: %V%V%s%V", log->action, &r->connection->addr_text, + &r->server_name, &r->unparsed_uri, &u->schema, &peer->peers->peer[peer->cur_peer].name, |