comparison src/http/ngx_http_upstream.c @ 503:b1648294f693 release-0.1.26

nginx-0.1.26-RELEASE import *) 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 <igor@sysoev.ru>
date Tue, 22 Mar 2005 16:02:46 +0000
parents d4ea69372b94
children ee66921ecd47
comparison
equal deleted inserted replaced
502:2017b79d7db5 503:b1648294f693
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);