comparison src/http/ngx_http_request.h @ 546:e19e5f542878 NGINX_0_8_25

nginx 0.8.25 *) Change: now no message is written in an error log if a variable is not found by $r->variable() method. *) Feature: the ngx_http_degradation_module. *) Feature: regular expression named captures. *) Feature: now URI part is not required a "proxy_pass" directive if variables are used. *) Feature: now the "msie_padding" directive works for Chrome too. *) Bugfix: a segmentation fault occurred in a worker process on low memory condition; the bug had appeared in 0.8.18. *) Bugfix: nginx sent gzipped responses to clients those do not support gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared in 0.8.16.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Nov 2009 00:00:00 +0300
parents 4c5d2c627a6c
children 7fa8dc2315bd
comparison
equal deleted inserted replaced
545:91e4b06e1a01 546:e19e5f542878
8 #define _NGX_HTTP_REQUEST_H_INCLUDED_ 8 #define _NGX_HTTP_REQUEST_H_INCLUDED_
9 9
10 10
11 #define NGX_HTTP_MAX_URI_CHANGES 10 11 #define NGX_HTTP_MAX_URI_CHANGES 10
12 #define NGX_HTTP_MAX_SUBREQUESTS 50 12 #define NGX_HTTP_MAX_SUBREQUESTS 50
13 #define NGX_HTTP_MAX_CAPTURES 9
14 13
15 /* must be 2^n */ 14 /* must be 2^n */
16 #define NGX_HTTP_LC_HEADER_LEN 32 15 #define NGX_HTTP_LC_HEADER_LEN 32
17 16
18 17
218 unsigned msie:1; 217 unsigned msie:1;
219 unsigned msie4:1; 218 unsigned msie4:1;
220 unsigned msie6:1; 219 unsigned msie6:1;
221 unsigned opera:1; 220 unsigned opera:1;
222 unsigned gecko:1; 221 unsigned gecko:1;
222 unsigned chrome:1;
223 unsigned konqueror:1; 223 unsigned konqueror:1;
224 } ngx_http_headers_in_t; 224 } ngx_http_headers_in_t;
225 225
226 226
227 typedef struct { 227 typedef struct {
455 unsigned waited:1; 455 unsigned waited:1;
456 456
457 #if (NGX_HTTP_CACHE) 457 #if (NGX_HTTP_CACHE)
458 unsigned cached:1; 458 unsigned cached:1;
459 #endif 459 #endif
460 unsigned gzip:2; 460
461 #if (NGX_HTTP_GZIP)
462 unsigned gzip_tested:1;
463 unsigned gzip_ok:1;
464 unsigned gzip_vary:1;
465 #endif
461 466
462 unsigned proxy:1; 467 unsigned proxy:1;
463 unsigned bypass_cache:1; 468 unsigned bypass_cache:1;
464 unsigned no_cache:1; 469 unsigned no_cache:1;
465 470