X-Git-Url: http://git.rot13.org/?p=nginx.git;a=blobdiff_plain;f=nginx%2Fsrc%2Fhttp%2Fngx_http_core_module.h;h=afceff9419609c60424677fab229f9791bf09105;hp=2fdc1020b4b5e2489abeada2484057c52d2f0522;hb=edef48fd7f4269957bc636301b0ffc73a16f9a4a;hpb=ce73043f2886947385224e3e77da24a2bb1643b1 diff --git a/nginx/src/http/ngx_http_core_module.h b/nginx/src/http/ngx_http_core_module.h index 2fdc102..afceff9 100644 --- a/nginx/src/http/ngx_http_core_module.h +++ b/nginx/src/http/ngx_http_core_module.h @@ -150,6 +150,8 @@ typedef struct { /* server ctx */ ngx_http_conf_ctx_t *ctx; + ngx_http_virtual_names_t *virtual_names; + ngx_str_t server_name; size_t connection_pool_size; @@ -175,8 +177,6 @@ typedef struct { /* the default server configuration for this address:port */ ngx_http_core_srv_conf_t *core_srv_conf; - ngx_http_virtual_names_t *virtual_names; - #if (NGX_HTTP_SSL) ngx_uint_t ssl; /* unsigned ssl:1; */ #endif @@ -200,9 +200,6 @@ typedef struct { typedef struct { - in_port_t port; - ngx_str_t port_text; - /* ngx_http_in_addr_t or ngx_http_in6_addr_t */ void *addrs; ngx_uint_t naddrs;