Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_request.h @ 206:3866d57d9cfd NGINX_0_3_50
nginx 0.3.50
*) Change: the "proxy_redirect_errors" and "fastcgi_redirect_errors"
directives was renamed to the "proxy_intercept_errors" and
"fastcgi_intercept_errors" directives.
*) Feature: the ngx_http_charset_module supports the recoding from the
single byte encodings to the UTF-8 encoding and back.
*) Feature: the "X-Accel-Charset" response header line is supported in
proxy and FastCGI mode.
*) Bugfix: the "\" escape symbol in the "\"" and "\'" pairs in the SSI
command was removed only if the command also has the "$" symbol.
*) Bugfix: the "<!--" string might be added on some conditions in the
SSI after inclusion.
*) Bugfix: if the "Content-Length: 0" header line was in response, then
in nonbuffered proxying mode the client connection was not closed.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 28 Jun 2006 00:00:00 +0400 |
parents | d2ae1c9f1fd3 |
children | 56688ed172c8 |
comparison
equal
deleted
inserted
replaced
205:e53bd15c244a | 206:3866d57d9cfd |
---|---|
7 #ifndef _NGX_HTTP_REQUEST_H_INCLUDED_ | 7 #ifndef _NGX_HTTP_REQUEST_H_INCLUDED_ |
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 | 13 |
13 /* must be 2^n */ | 14 /* must be 2^n */ |
14 #define NGX_HTTP_LC_HEADER_LEN 32 | 15 #define NGX_HTTP_LC_HEADER_LEN 32 |
15 | 16 |
16 | 17 |
226 ngx_table_elt_t *accept_ranges; | 227 ngx_table_elt_t *accept_ranges; |
227 ngx_table_elt_t *www_authenticate; | 228 ngx_table_elt_t *www_authenticate; |
228 ngx_table_elt_t *expires; | 229 ngx_table_elt_t *expires; |
229 ngx_table_elt_t *etag; | 230 ngx_table_elt_t *etag; |
230 | 231 |
232 ngx_str_t *override_charset; | |
233 | |
234 size_t content_type_len; | |
231 ngx_str_t content_type; | 235 ngx_str_t content_type; |
232 ngx_str_t charset; | 236 ngx_str_t charset; |
237 | |
233 ngx_array_t ranges; | 238 ngx_array_t ranges; |
234 | |
235 ngx_array_t cache_control; | 239 ngx_array_t cache_control; |
236 | 240 |
237 off_t content_length_n; | 241 off_t content_length_n; |
238 time_t date_time; | 242 time_t date_time; |
239 time_t last_modified_time; | 243 time_t last_modified_time; |
443 | 447 |
444 #if (NGX_STAT_STUB) | 448 #if (NGX_STAT_STUB) |
445 unsigned stat_reading:1; | 449 unsigned stat_reading:1; |
446 unsigned stat_writing:1; | 450 unsigned stat_writing:1; |
447 #endif | 451 #endif |
452 | |
453 unsigned subrequests:8; | |
448 | 454 |
449 /* used to parse HTTP headers */ | 455 /* used to parse HTTP headers */ |
450 ngx_uint_t state; | 456 ngx_uint_t state; |
451 u_char *uri_start; | 457 u_char *uri_start; |
452 u_char *uri_end; | 458 u_char *uri_end; |