comparison src/http/ngx_http_upstream.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 87699398f955
children d2ae1c9f1fd3
comparison
equal deleted inserted replaced
197:93658b91fad2 198:e6da4931e0e0
39 ngx_str_t *peer; 39 ngx_str_t *peer;
40 } ngx_http_upstream_state_t; 40 } ngx_http_upstream_state_t;
41 41
42 42
43 typedef struct { 43 typedef struct {
44 ngx_hash0_t headers_in_hash; 44 ngx_hash_t headers_in_hash;
45 } ngx_http_upstream_main_conf_t; 45 } ngx_http_upstream_main_conf_t;
46 46
47 47
48 typedef struct { 48 typedef struct {
49 ngx_msec_t connect_timeout; 49 ngx_msec_t connect_timeout;
75 75
76 ngx_flag_t ignore_client_abort; 76 ngx_flag_t ignore_client_abort;
77 ngx_flag_t redirect_errors; 77 ngx_flag_t redirect_errors;
78 ngx_flag_t cyclic_temp_file; 78 ngx_flag_t cyclic_temp_file;
79 79
80 ngx_flag_t pass_x_powered_by;
81 ngx_flag_t pass_server;
82 ngx_flag_t pass_date;
83 ngx_flag_t pass_x_accel_expires;
84
85 ngx_path_t *temp_path; 80 ngx_path_t *temp_path;
81
82 ngx_hash_t hide_headers_hash;
83 ngx_array_t *hide_headers;
84 ngx_array_t *pass_headers;
86 85
87 ngx_str_t schema; 86 ngx_str_t schema;
88 ngx_str_t uri; 87 ngx_str_t uri;
89 ngx_str_t location; 88 ngx_str_t location;
90 ngx_str_t url; /* used in proxy_rewrite_location */ 89 ngx_str_t url; /* used in proxy_rewrite_location */
91 90
92 ngx_uint_t redirect_404; /* unsigned redirect_404:1; */ 91 unsigned redirect_404:1;
92 unsigned change_buffering:1;
93 93
94 #if (NGX_HTTP_SSL) 94 #if (NGX_HTTP_SSL)
95 ngx_ssl_t *ssl; 95 ngx_ssl_t *ssl;
96 #endif 96 #endif
97 97
189 ngx_http_cleanup_pt *cleanup; 189 ngx_http_cleanup_pt *cleanup;
190 190
191 unsigned cachable:1; 191 unsigned cachable:1;
192 unsigned accel:1; 192 unsigned accel:1;
193 193
194 unsigned buffering:1;
195
194 unsigned request_sent:1; 196 unsigned request_sent:1;
195 unsigned header_sent:1; 197 unsigned header_sent:1;
196 }; 198 };
197 199
198 200