Mercurial > hg > nginx-vendor-0-8
comparison src/http/ngx_http_core_module.h @ 358:9121a0a91f47 NGINX_0_6_23
nginx 0.6.23
*) Change: the "off" parameter in the "ssl_session_cache" directive;
now this is default parameter.
*) Change: the "open_file_cache_retest" directive was renamed to the
"open_file_cache_valid".
*) Feature: the "open_file_cache_min_uses" directive.
*) Feature: the ngx_http_gzip_static_module.
*) Feature: the "gzip_disable" directive.
*) Feature: the "memcached_pass" directive may be used inside the "if"
block.
*) Bugfix: a segmentation fault occurred in worker process, if the
"memcached_pass" and "if" directives were used in the same location.
*) Bugfix: if a "satisfy_any on" directive was used and not all access
and auth modules directives were set, then other given access and
auth directives were not tested;
*) Bugfix: regex parameters in a "valid_referers" directive were not
inherited from previous level.
*) Bugfix: a "post_action" directive did run if a request was completed
with 499 status code.
*) Bugfix: optimization of 16K buffer usage in a SSL connection.
Thanks to Ben Maurer.
*) Bugfix: the STARTTLS in SMTP mode did not work.
Thanks to Oleg Motienko.
*) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
error; bug appeared in 0.5.13.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 27 Dec 2007 00:00:00 +0300 |
parents | e10168d6e371 |
children | 54fad6c4b555 |
comparison
equal
deleted
inserted
replaced
357:16d557a75356 | 358:9121a0a91f47 |
---|---|
9 | 9 |
10 | 10 |
11 #include <ngx_string.h> | 11 #include <ngx_string.h> |
12 #include <ngx_array.h> | 12 #include <ngx_array.h> |
13 #include <ngx_http.h> | 13 #include <ngx_http.h> |
14 | |
15 | |
16 #define NGX_HTTP_GZIP_PROXIED_OFF 0x0002 | |
17 #define NGX_HTTP_GZIP_PROXIED_EXPIRED 0x0004 | |
18 #define NGX_HTTP_GZIP_PROXIED_NO_CACHE 0x0008 | |
19 #define NGX_HTTP_GZIP_PROXIED_NO_STORE 0x0010 | |
20 #define NGX_HTTP_GZIP_PROXIED_PRIVATE 0x0020 | |
21 #define NGX_HTTP_GZIP_PROXIED_NO_LM 0x0040 | |
22 #define NGX_HTTP_GZIP_PROXIED_NO_ETAG 0x0080 | |
23 #define NGX_HTTP_GZIP_PROXIED_AUTH 0x0100 | |
24 #define NGX_HTTP_GZIP_PROXIED_ANY 0x0200 | |
14 | 25 |
15 | 26 |
16 typedef struct { | 27 typedef struct { |
17 unsigned default_server:1; | 28 unsigned default_server:1; |
18 unsigned bind:1; | 29 unsigned bind:1; |
288 ngx_flag_t msie_refresh; /* msie_refresh */ | 299 ngx_flag_t msie_refresh; /* msie_refresh */ |
289 ngx_flag_t log_not_found; /* log_not_found */ | 300 ngx_flag_t log_not_found; /* log_not_found */ |
290 ngx_flag_t recursive_error_pages; /* recursive_error_pages */ | 301 ngx_flag_t recursive_error_pages; /* recursive_error_pages */ |
291 ngx_flag_t server_tokens; /* server_tokens */ | 302 ngx_flag_t server_tokens; /* server_tokens */ |
292 | 303 |
304 #if (NGX_HTTP_GZIP) | |
305 ngx_flag_t gzip_vary; /* gzip_vary */ | |
306 | |
307 ngx_uint_t gzip_http_version; /* gzip_http_version */ | |
308 ngx_uint_t gzip_proxied; /* gzip_proxied */ | |
309 | |
310 #if (NGX_PCRE) | |
311 ngx_array_t *gzip_disable; /* gzip_disable */ | |
312 #endif | |
313 #endif | |
314 | |
293 ngx_array_t *error_pages; /* error_page */ | 315 ngx_array_t *error_pages; /* error_page */ |
294 | 316 |
295 ngx_path_t *client_body_temp_path; /* client_body_temp_path */ | 317 ngx_path_t *client_body_temp_path; /* client_body_temp_path */ |
296 | 318 |
297 ngx_open_file_cache_t *open_file_cache; | 319 ngx_open_file_cache_t *open_file_cache; |
298 time_t open_file_cache_retest; | 320 time_t open_file_cache_valid; |
321 ngx_uint_t open_file_cache_min_uses; | |
299 ngx_flag_t open_file_cache_errors; | 322 ngx_flag_t open_file_cache_errors; |
300 ngx_flag_t open_file_cache_events; | 323 ngx_flag_t open_file_cache_events; |
301 | 324 |
302 ngx_log_t *err_log; | 325 ngx_log_t *err_log; |
303 | 326 |
327 ngx_int_t ngx_http_set_content_type(ngx_http_request_t *r); | 350 ngx_int_t ngx_http_set_content_type(ngx_http_request_t *r); |
328 ngx_int_t ngx_http_set_exten(ngx_http_request_t *r); | 351 ngx_int_t ngx_http_set_exten(ngx_http_request_t *r); |
329 u_char *ngx_http_map_uri_to_path(ngx_http_request_t *r, ngx_str_t *name, | 352 u_char *ngx_http_map_uri_to_path(ngx_http_request_t *r, ngx_str_t *name, |
330 size_t *root_length, size_t reserved); | 353 size_t *root_length, size_t reserved); |
331 ngx_int_t ngx_http_auth_basic_user(ngx_http_request_t *r); | 354 ngx_int_t ngx_http_auth_basic_user(ngx_http_request_t *r); |
355 #if (NGX_HTTP_GZIP) | |
356 ngx_int_t ngx_http_gzip_ok(ngx_http_request_t *r); | |
357 #endif | |
358 | |
332 | 359 |
333 ngx_int_t ngx_http_subrequest(ngx_http_request_t *r, | 360 ngx_int_t ngx_http_subrequest(ngx_http_request_t *r, |
334 ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **sr, | 361 ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **sr, |
335 ngx_http_post_subrequest_t *psr, ngx_uint_t flags); | 362 ngx_http_post_subrequest_t *psr, ngx_uint_t flags); |
336 ngx_int_t ngx_http_internal_redirect(ngx_http_request_t *r, | 363 ngx_int_t ngx_http_internal_redirect(ngx_http_request_t *r, |