comparison src/http/ngx_http_core_module.h @ 2534:2749e4bf6af0

move r->virtual_names to ngx_http_core_srv_conf_t
author Igor Sysoev <igor@sysoev.ru>
date Tue, 24 Feb 2009 07:56:47 +0000
parents c843171d5dc2
children 8b9861c2a32f
comparison
equal deleted inserted replaced
2533:c843171d5dc2 2534:2749e4bf6af0
148 ngx_array_t server_names; 148 ngx_array_t server_names;
149 149
150 /* server ctx */ 150 /* server ctx */
151 ngx_http_conf_ctx_t *ctx; 151 ngx_http_conf_ctx_t *ctx;
152 152
153 ngx_http_virtual_names_t *virtual_names;
154
153 ngx_str_t server_name; 155 ngx_str_t server_name;
154 156
155 size_t connection_pool_size; 157 size_t connection_pool_size;
156 size_t request_pool_size; 158 size_t request_pool_size;
157 size_t client_header_buffer_size; 159 size_t client_header_buffer_size;
172 174
173 175
174 typedef struct { 176 typedef struct {
175 /* the default server configuration for this address:port */ 177 /* the default server configuration for this address:port */
176 ngx_http_core_srv_conf_t *core_srv_conf; 178 ngx_http_core_srv_conf_t *core_srv_conf;
177
178 ngx_http_virtual_names_t *virtual_names;
179 179
180 #if (NGX_HTTP_SSL) 180 #if (NGX_HTTP_SSL)
181 ngx_uint_t ssl; /* unsigned ssl:1; */ 181 ngx_uint_t ssl; /* unsigned ssl:1; */
182 #endif 182 #endif
183 } ngx_http_addr_conf_t; 183 } ngx_http_addr_conf_t;