summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-05-11 14:43:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-05-11 14:43:47 +0000
commit3338cfdfbc5522ca96319ece6d21ddc4d1dce45d (patch)
tree1e668fefd76a974c8ffdb0db6813022a6eb64e76 /src/http/ngx_http_upstream.h
parent418843dc7f2ff90ae371f41e5fea810e10e59317 (diff)
downloadnginx-3338cfdfbc5522ca96319ece6d21ddc4d1dce45d.tar.gz
nginx-3338cfdfbc5522ca96319ece6d21ddc4d1dce45d.tar.bz2
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_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index 4d07c3e7e..e61c0bcc0 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -41,7 +41,7 @@ typedef struct {
typedef struct {
- ngx_hash0_t headers_in_hash;
+ ngx_hash_t headers_in_hash;
} ngx_http_upstream_main_conf_t;
@@ -77,19 +77,19 @@ typedef struct {
ngx_flag_t redirect_errors;
ngx_flag_t cyclic_temp_file;
- ngx_flag_t pass_x_powered_by;
- ngx_flag_t pass_server;
- ngx_flag_t pass_date;
- ngx_flag_t pass_x_accel_expires;
-
ngx_path_t *temp_path;
+ ngx_hash_t hide_headers_hash;
+ ngx_array_t *hide_headers;
+ ngx_array_t *pass_headers;
+
ngx_str_t schema;
ngx_str_t uri;
ngx_str_t location;
ngx_str_t url; /* used in proxy_rewrite_location */
- ngx_uint_t redirect_404; /* unsigned redirect_404:1; */
+ unsigned redirect_404:1;
+ unsigned change_buffering:1;
#if (NGX_HTTP_SSL)
ngx_ssl_t *ssl;
@@ -191,6 +191,8 @@ struct ngx_http_upstream_s {
unsigned cachable:1;
unsigned accel:1;
+ unsigned buffering:1;
+
unsigned request_sent:1;
unsigned header_sent:1;
};