aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-05-04 17:56:58 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-05-04 17:56:58 +0000
commit5aeeb2dc4687c38386f2440a56f29758a53b5551 (patch)
tree4e69e36b1fd8956d7f5cf008ce244d6d520cdbdf /src/http/ngx_http_request.c
parent16abdfeda0509afbb220e75399f54b330b1a460c (diff)
downloadnginx-5aeeb2dc4687c38386f2440a56f29758a53b5551.tar.gz
nginx-5aeeb2dc4687c38386f2440a56f29758a53b5551.zip
nginx-0.0.3-2004-05-04-21:56:58 import
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index d5496e227..a8c4aeed2 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -871,6 +871,7 @@ static ngx_int_t ngx_http_process_request_header(ngx_http_request_t *r)
{
r->srv_conf = name[i].core_srv_conf->ctx->srv_conf;
r->loc_conf = name[i].core_srv_conf->ctx->loc_conf;
+ r->server_name = &name[i].name;
clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
r->connection->log->file = clcf->err_log->file;