comparison src/http/ngx_http_request.h @ 198:e6da4931e0e0 NGINX_0_3_46

nginx 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.
author Igor Sysoev <http://sysoev.ru>
date Thu, 11 May 2006 00:00:00 +0400
parents 8759b346e431
children d2ae1c9f1fd3
comparison
equal deleted inserted replaced
197:93658b91fad2 198:e6da4931e0e0
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_REWRITE_CYCLES 10 11 #define NGX_HTTP_MAX_REWRITE_CYCLES 10
12
13 /* must be 2^n */
14 #define NGX_HTTP_LC_HEADER_LEN 32
12 15
13 16
14 #define NGX_HTTP_DISCARD_BUFFER_SIZE 4096 17 #define NGX_HTTP_DISCARD_BUFFER_SIZE 4096
15 #define NGX_HTTP_LINGERING_BUFFER_SIZE 4096 18 #define NGX_HTTP_LINGERING_BUFFER_SIZE 4096
16 19
398 unsigned request_body_file_group_access:1; 401 unsigned request_body_file_group_access:1;
399 unsigned request_body_file_log_level:3; 402 unsigned request_body_file_log_level:3;
400 403
401 unsigned fast_subrequest:1; 404 unsigned fast_subrequest:1;
402 405
403 unsigned low_case_exten:1;
404 unsigned header_timeout_set:1; 406 unsigned header_timeout_set:1;
405 407
406 unsigned proxy:1; 408 unsigned proxy:1;
407 unsigned bypass_cache:1; 409 unsigned bypass_cache:1;
408 unsigned no_cache:1; 410 unsigned no_cache:1;
461 u_char *port_end; 463 u_char *port_end;
462 u_char *header_name_start; 464 u_char *header_name_start;
463 u_char *header_name_end; 465 u_char *header_name_end;
464 u_char *header_start; 466 u_char *header_start;
465 u_char *header_end; 467 u_char *header_end;
468
466 ngx_uint_t header_hash; 469 ngx_uint_t header_hash;
470 ngx_uint_t lowcase_index;
471 u_char lowcase_header[NGX_HTTP_LC_HEADER_LEN];
467 }; 472 };
468 473
469 474
470 extern ngx_http_header_t ngx_http_headers_in[]; 475 extern ngx_http_header_t ngx_http_headers_in[];
471 extern ngx_http_header_out_t ngx_http_headers_out[]; 476 extern ngx_http_header_out_t ngx_http_headers_out[];