comparison src/http/ngx_http_core_module.h @ 326:f70f2f565fe0 NGINX_0_5_33

nginx 0.5.33 *) Change: now by default the "echo" SSI command uses entity encoding. *) Feature: the "encoding" parameter in the "echo" SSI command. *) Change: mail proxy was split on three modules: pop3, imap and smtp. *) Feature: the --without-mail_pop3_module, --without-mail_imap_module, and --without-mail_smtp_module configuration parameters. *) Feature: the "smtp_greeting_delay" and "smtp_client_buffer" directives of the ngx_mail_smtp_module. *) Feature: the "server_name" and "valid_referers" directives support regular expressions. *) Feature: the "server_name", "map", and "valid_referers" directives support the "www.example.*" wildcards. *) Bugfix: sub_filter did not work with empty substitution. *) Bugfix: in sub_filter parsing. *) Bugfix: a worker process may got caught in an endless loop, if the memcached was used. *) Bugfix: nginx supported low case only "close" and "keep-alive" values in the "Connection" request header line; bug appeared in 0.5.32. *) Bugfix: nginx could not start on Solaris if the shared PCRE library located in non-standard place was used.
author Igor Sysoev <http://sysoev.ru>
date Wed, 07 Nov 2007 00:00:00 +0300
parents 7cf404023f50
children 26ff8d6b618d
comparison
equal deleted inserted replaced
325:5bb1b28ddeaa 326:f70f2f565fe0
149 /* list of structures to find core_srv_conf quickly at run time */ 149 /* list of structures to find core_srv_conf quickly at run time */
150 150
151 151
152 typedef struct { 152 typedef struct {
153 in_addr_t addr; 153 in_addr_t addr;
154
154 /* the default server configuration for this address:port */ 155 /* the default server configuration for this address:port */
155 ngx_http_core_srv_conf_t *core_srv_conf; 156 ngx_http_core_srv_conf_t *core_srv_conf;
157
156 ngx_http_virtual_names_t *virtual_names; 158 ngx_http_virtual_names_t *virtual_names;
157 } ngx_http_in_addr_t; 159 } ngx_http_in_addr_t;
158 160
159 161
160 typedef struct { 162 typedef struct {
173 175
174 typedef struct { 176 typedef struct {
175 in_addr_t addr; 177 in_addr_t addr;
176 178
177 ngx_hash_t hash; 179 ngx_hash_t hash;
178 ngx_hash_wildcard_t *dns_wildcards; 180 ngx_hash_wildcard_t *wc_head;
181 ngx_hash_wildcard_t *wc_tail;
179 182
180 ngx_array_t names; /* array of ngx_http_server_name_t */ 183 ngx_array_t names; /* array of ngx_http_server_name_t */
184
185 #if (NGX_PCRE)
186 ngx_uint_t nregex;
187 ngx_http_server_name_t *regex;
188 #endif
181 189
182 /* the default server configuration for this address:port */ 190 /* the default server configuration for this address:port */
183 ngx_http_core_srv_conf_t *core_srv_conf; 191 ngx_http_core_srv_conf_t *core_srv_conf;
184 192
185 unsigned default_server:1; 193 unsigned default_server:1;
187 195
188 ngx_http_listen_conf_t *listen_conf; 196 ngx_http_listen_conf_t *listen_conf;
189 } ngx_http_conf_in_addr_t; 197 } ngx_http_conf_in_addr_t;
190 198
191 199
192 typedef struct { 200 struct ngx_http_server_name_s {
201 #if (NGX_PCRE)
202 ngx_regex_t *regex;
203 #endif
204 ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */
193 ngx_str_t name; 205 ngx_str_t name;
194 ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */ 206 };
195 } ngx_http_server_name_t;
196 207
197 208
198 typedef struct { 209 typedef struct {
199 ngx_int_t status; 210 ngx_int_t status;
200 ngx_int_t overwrite; 211 ngx_int_t overwrite;