Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.h @ 3218:022a7662b4ed
refactor http listen code: remove duplicate options fields
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 21 Oct 2009 08:48:04 +0000 |
parents | a22bf524a456 |
children | 81b8416054b0 |
comparison
equal
deleted
inserted
replaced
3217:a22bf524a456 | 3218:022a7662b4ed |
---|---|
234 ngx_http_server_name_t *regex; | 234 ngx_http_server_name_t *regex; |
235 #endif | 235 #endif |
236 | 236 |
237 /* the default server configuration for this address:port */ | 237 /* the default server configuration for this address:port */ |
238 ngx_http_core_srv_conf_t *core_srv_conf; | 238 ngx_http_core_srv_conf_t *core_srv_conf; |
239 | |
240 unsigned default_server:1; | |
241 unsigned bind:1; | |
242 unsigned wildcard:1; | |
243 #if (NGX_HTTP_SSL) | |
244 unsigned ssl:1; | |
245 #endif | |
246 | 239 |
247 ngx_http_listen_opt_t opt; | 240 ngx_http_listen_opt_t opt; |
248 } ngx_http_conf_addr_t; | 241 } ngx_http_conf_addr_t; |
249 | 242 |
250 | 243 |