comparison src/http/ngx_http_request.c @ 331:f168a88e93f7

nginx-0.0.3-2004-05-04-21:56:58 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 04 May 2004 17:56:58 +0000
parents fb4dfb2ac0fc
children d4241d7787fe
comparison
equal deleted inserted replaced
330:377a955421dc 331:f168a88e93f7
869 name[i].name.data, 869 name[i].name.data,
870 r->headers_in.host_name_len) == 0) 870 r->headers_in.host_name_len) == 0)
871 { 871 {
872 r->srv_conf = name[i].core_srv_conf->ctx->srv_conf; 872 r->srv_conf = name[i].core_srv_conf->ctx->srv_conf;
873 r->loc_conf = name[i].core_srv_conf->ctx->loc_conf; 873 r->loc_conf = name[i].core_srv_conf->ctx->loc_conf;
874 r->server_name = &name[i].name;
874 875
875 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 876 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
876 r->connection->log->file = clcf->err_log->file; 877 r->connection->log->file = clcf->err_log->file;
877 r->connection->log->log_level = clcf->err_log->log_level; 878 r->connection->log->log_level = clcf->err_log->log_level;
878 879