Mercurial > hg > nginx-mail
comparison src/http/ngx_http_upstream.c @ 52:0d75d65c642f NGINX_0_1_26
nginx 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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 22 Mar 2005 00:00:00 +0300 |
parents | 72eb30262aac |
children | bcb5fce0b038 |
comparison
equal
deleted
inserted
replaced
51:43f383e47efc | 52:0d75d65c642f |
---|---|
1146 r = ctx->request; | 1146 r = ctx->request; |
1147 u = r->upstream; | 1147 u = r->upstream; |
1148 peer = &u->peer; | 1148 peer = &u->peer; |
1149 | 1149 |
1150 p = ngx_snprintf(buf, len, | 1150 p = ngx_snprintf(buf, len, |
1151 " while %s, client: %V, URL: %V, upstream: %V%V%s%V", | 1151 " while %s, client: %V, host: %V, URL: \"%V\"," |
1152 " upstream: %V%V%s%V", | |
1152 log->action, | 1153 log->action, |
1153 &r->connection->addr_text, | 1154 &r->connection->addr_text, |
1155 &r->server_name, | |
1154 &r->unparsed_uri, | 1156 &r->unparsed_uri, |
1155 &u->schema, | 1157 &u->schema, |
1156 &peer->peers->peer[peer->cur_peer].name, | 1158 &peer->peers->peer[peer->cur_peer].name, |
1157 peer->peers->peer[peer->cur_peer].uri_separator, | 1159 peer->peers->peer[peer->cur_peer].uri_separator, |
1158 &u->uri); | 1160 &u->uri); |