diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-05-11 14:43:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-05-11 14:43:47 +0000 |
commit | 3338cfdfbc5522ca96319ece6d21ddc4d1dce45d (patch) | |
tree | 1e668fefd76a974c8ffdb0db6813022a6eb64e76 /src/http/ngx_http_request.h | |
parent | 418843dc7f2ff90ae371f41e5fea810e10e59317 (diff) | |
download | nginx-3338cfdfbc5522ca96319ece6d21ddc4d1dce45d.tar.gz nginx-3338cfdfbc5522ca96319ece6d21ddc4d1dce45d.zip |
nginx-0.3.46-RELEASE importrelease-0.3.46
*) Feature: the "proxy_hide_header", "proxy_pass_header",
"fastcgi_hide_header", and "fastcgi_pass_header" directives.
*) Change: the "proxy_pass_x_powered_by", "fastcgi_x_powered_by", and
"proxy_pass_server" directives were canceled.
*) Feature: the "X-Accel-Buffering" response header line is supported
in proxy mode.
*) Bugfix: the reconfiguration bug and memory leaks in the
ngx_http_perl_module.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index e467dde17..a8aa98397 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -10,6 +10,9 @@ #define NGX_HTTP_MAX_REWRITE_CYCLES 10 +/* must be 2^n */ +#define NGX_HTTP_LC_HEADER_LEN 32 + #define NGX_HTTP_DISCARD_BUFFER_SIZE 4096 #define NGX_HTTP_LINGERING_BUFFER_SIZE 4096 @@ -400,7 +403,6 @@ struct ngx_http_request_s { unsigned fast_subrequest:1; - unsigned low_case_exten:1; unsigned header_timeout_set:1; unsigned proxy:1; @@ -463,7 +465,10 @@ struct ngx_http_request_s { u_char *header_name_end; u_char *header_start; u_char *header_end; + ngx_uint_t header_hash; + ngx_uint_t lowcase_index; + u_char lowcase_header[NGX_HTTP_LC_HEADER_LEN]; }; |