aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-02-11 14:02:28 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-02-11 14:02:28 +0000
commitc2e854e1988c20bbcdae928765035264c74c2ad9 (patch)
treef045ed6a9685213dba30cce9d66ab04736a1e53e
parentbe0a61e618fc21cd9d5a39d8562aa0c2b449fd59 (diff)
downloadnginx-c2e854e1988c20bbcdae928765035264c74c2ad9.tar.gz
nginx-c2e854e1988c20bbcdae928765035264c74c2ad9.zip
add X-Accel-Charset to ingored header, fix X-Accel-Buffering
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c3
-rw-r--r--src/http/modules/ngx_http_proxy_module.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index a0a328fac..b912e19b7 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -417,7 +417,8 @@ static ngx_str_t ngx_http_fastcgi_hide_headers[] = {
ngx_string("X-Accel-Expires"),
ngx_string("X-Accel-Redirect"),
ngx_string("X-Accel-Limit-Rate"),
- ngx_string("X-Accel-Buffer"),
+ ngx_string("X-Accel-Buffering"),
+ ngx_string("X-Accel-Charset"),
ngx_null_string
};
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index 0849668ee..d3f4c60ea 100644
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -435,7 +435,8 @@ static ngx_str_t ngx_http_proxy_hide_headers[] = {
ngx_string("X-Accel-Expires"),
ngx_string("X-Accel-Redirect"),
ngx_string("X-Accel-Limit-Rate"),
- ngx_string("X-Accel-Buffer"),
+ ngx_string("X-Accel-Buffering"),
+ ngx_string("X-Accel-Charset"),
ngx_null_string
};