comparison src/http/ngx_http_core_module.h @ 4:4b2dafa26fe2 NGINX_0_1_2

nginx 0.1.2 *) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; bug appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; bug appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
author Igor Sysoev <http://sysoev.ru>
date Thu, 21 Oct 2004 00:00:00 +0400
parents cc9f381affaa
children 74b1868dd3cd
comparison
equal deleted inserted replaced
3:8beaf7b3241f 4:4b2dafa26fe2
94 in_addr_t addr; 94 in_addr_t addr;
95 ngx_array_t names; /* array of ngx_http_server_name_t */ 95 ngx_array_t names; /* array of ngx_http_server_name_t */
96 ngx_http_core_srv_conf_t *core_srv_conf; /* default server conf 96 ngx_http_core_srv_conf_t *core_srv_conf; /* default server conf
97 for this address:port */ 97 for this address:port */
98 98
99 unsigned default_server:1; 99 ngx_uint_t default_server; /* unsigned default_server:1; */
100 } ngx_http_in_addr_t; 100 } ngx_http_in_addr_t;
101 101
102 102
103 typedef struct { 103 typedef struct {
104 ngx_str_t name; 104 ngx_str_t name;
105 ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */ 105 ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */
106
107 ngx_uint_t wildcard; /*unsigned wildcard:1; */
106 } ngx_http_server_name_t; 108 } ngx_http_server_name_t;
107 109
108 110
109 #define NGX_HTTP_TYPES_HASH_PRIME 13 111 #define NGX_HTTP_TYPES_HASH_PRIME 13
110 112
133 typedef struct ngx_http_core_loc_conf_s ngx_http_core_loc_conf_t; 135 typedef struct ngx_http_core_loc_conf_s ngx_http_core_loc_conf_t;
134 136
135 struct ngx_http_core_loc_conf_s { 137 struct ngx_http_core_loc_conf_s {
136 ngx_str_t name; /* location name */ 138 ngx_str_t name; /* location name */
137 139
138 #if (HAVE_PCRE) 140 #if (NGX_PCRE)
139 ngx_regex_t *regex; 141 ngx_regex_t *regex;
140 #endif 142 #endif
141 143
142 unsigned exact_match:1; 144 unsigned exact_match:1;
143 unsigned auto_redirect:1; 145 unsigned auto_redirect:1;