Mercurial > hg > nginx-vendor-0-8
comparison src/http/ngx_http_core_module.h @ 326:9fc4ab6673f9 NGINX_0_6_7
nginx 0.6.7
*) Change: now the paths specified in the "include",
"auth_basic_user_file", "perl_modules", "ssl_certificate",
"ssl_certificate_key", and "ssl_client_certificate" directives are
relative to directory of nginx configuration file nginx.conf, but
not to nginx prefix directory.
*) Change: the --sysconfdir=PATH option in configure was canceled.
*) Change: the special make target "upgrade1" was defined for online
upgrade of 0.1.x versions.
*) Feature: the "server_name" and "valid_referers" directives support
regular expressions.
*) Feature: the "server" directive in the "upstream" context supports
the "backup" parameter.
*) Feature: the ngx_http_perl_module supports the
$r->discard_request_body.
*) Feature: the "add_header Last-Modified ..." directive changes the
"Last-Modified" response header line.
*) Bugfix: if an response different than 200 was returned to an request
with body and connection went to the keep-alive state after the
request, then nginx returned 400 for the next request.
*) Bugfix: a segmentation fault occurred in worker process if invalid
address was set in the "auth_http" directive.
*) Bugfix: now nginx uses default listen backlog value 511 on all
platforms except FreeBSD.
Thanks to Jiang Hong.
*) Bugfix: a worker process may got caught in an endless loop, if an
"server" inside "upstream" block was marked as "down"; bug appeared
in 0.6.6.
*) Bugfix: now Solaris sendfilev() is not used to transfer the client
request body to FastCGI-server via the unix domain socket.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Aug 2007 00:00:00 +0400 |
parents | f7cd062ee035 |
children | 3a91bfeffaba |
comparison
equal
deleted
inserted
replaced
325:f395c7a4c8a8 | 326:9fc4ab6673f9 |
---|---|
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 { |
178 ngx_hash_wildcard_t *wc_head; | 180 ngx_hash_wildcard_t *wc_head; |
179 ngx_hash_wildcard_t *wc_tail; | 181 ngx_hash_wildcard_t *wc_tail; |
180 | 182 |
181 ngx_array_t names; /* array of ngx_http_server_name_t */ | 183 ngx_array_t names; /* array of ngx_http_server_name_t */ |
182 | 184 |
185 #if (NGX_PCRE) | |
186 ngx_uint_t nregex; | |
187 ngx_http_server_name_t *regex; | |
188 | |
189 #endif | |
190 | |
183 /* the default server configuration for this address:port */ | 191 /* the default server configuration for this address:port */ |
184 ngx_http_core_srv_conf_t *core_srv_conf; | 192 ngx_http_core_srv_conf_t *core_srv_conf; |
185 | 193 |
186 unsigned default_server:1; | 194 unsigned default_server:1; |
187 unsigned bind:1; | 195 unsigned bind:1; |
188 | 196 |
189 ngx_http_listen_conf_t *listen_conf; | 197 ngx_http_listen_conf_t *listen_conf; |
190 } ngx_http_conf_in_addr_t; | 198 } ngx_http_conf_in_addr_t; |
191 | 199 |
192 | 200 |
193 typedef struct { | 201 struct ngx_http_server_name_s { |
202 #if (NGX_PCRE) | |
203 ngx_regex_t *regex; | |
204 #endif | |
205 ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */ | |
194 ngx_str_t name; | 206 ngx_str_t name; |
195 ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */ | 207 }; |
196 } ngx_http_server_name_t; | |
197 | 208 |
198 | 209 |
199 typedef struct { | 210 typedef struct { |
200 ngx_int_t status; | 211 ngx_int_t status; |
201 ngx_int_t overwrite; | 212 ngx_int_t overwrite; |