Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_request.h @ 578:f3a9e57d2e17
Merge with current.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 11 Mar 2010 21:27:17 +0300 |
parents | 5f4de8cf0d9d 7fa8dc2315bd |
children | e67b227c8dbb |
comparison
equal
deleted
inserted
replaced
539:5f4de8cf0d9d | 578:f3a9e57d2e17 |
---|---|
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 |
58 | 57 |
59 | 58 |
60 #define NGX_HTTP_ZERO_IN_URI 1 | 59 #define NGX_HTTP_ZERO_IN_URI 1 |
61 #define NGX_HTTP_SUBREQUEST_IN_MEMORY 2 | 60 #define NGX_HTTP_SUBREQUEST_IN_MEMORY 2 |
62 #define NGX_HTTP_SUBREQUEST_WAITED 4 | 61 #define NGX_HTTP_SUBREQUEST_WAITED 4 |
62 #define NGX_HTTP_LOG_UNSAFE 8 | |
63 | 63 |
64 | 64 |
65 #define NGX_HTTP_OK 200 | 65 #define NGX_HTTP_OK 200 |
66 #define NGX_HTTP_CREATED 201 | 66 #define NGX_HTTP_CREATED 201 |
67 #define NGX_HTTP_NO_CONTENT 204 | 67 #define NGX_HTTP_NO_CONTENT 204 |
217 unsigned msie:1; | 217 unsigned msie:1; |
218 unsigned msie4:1; | 218 unsigned msie4:1; |
219 unsigned msie6:1; | 219 unsigned msie6:1; |
220 unsigned opera:1; | 220 unsigned opera:1; |
221 unsigned gecko:1; | 221 unsigned gecko:1; |
222 unsigned chrome:1; | |
223 unsigned safari:1; | |
222 unsigned konqueror:1; | 224 unsigned konqueror:1; |
223 } ngx_http_headers_in_t; | 225 } ngx_http_headers_in_t; |
224 | 226 |
225 | 227 |
226 typedef struct { | 228 typedef struct { |
454 unsigned waited:1; | 456 unsigned waited:1; |
455 | 457 |
456 #if (NGX_HTTP_CACHE) | 458 #if (NGX_HTTP_CACHE) |
457 unsigned cached:1; | 459 unsigned cached:1; |
458 #endif | 460 #endif |
459 unsigned gzip:2; | 461 |
462 #if (NGX_HTTP_GZIP) | |
463 unsigned gzip_tested:1; | |
464 unsigned gzip_ok:1; | |
465 unsigned gzip_vary:1; | |
466 #endif | |
460 | 467 |
461 unsigned proxy:1; | 468 unsigned proxy:1; |
462 unsigned bypass_cache:1; | 469 unsigned bypass_cache:1; |
463 unsigned no_cache:1; | 470 unsigned no_cache:1; |
464 | 471 |