summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-26 17:13:44 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-10-26 17:13:44 +0000
commit7201f40d9fa6e0bf548dffb76e8fb6ab7bac5cf6 (patch)
tree68e28c61c6bf33206bea3056899be300eb5567ea /src/http/modules
parent6118897e3388e4db5d693f27ac4c7312e07f3d12 (diff)
downloadnginx-7201f40d9fa6e0bf548dffb76e8fb6ab7bac5cf6.tar.gz
nginx-7201f40d9fa6e0bf548dffb76e8fb6ab7bac5cf6.tar.bz2
merge r3004, r3005, r3006:
various header fixes: *) allow to proxy_pass_header/fastcgi_pass_header "X-Accel-Redirect", "X-Accel-Limit-Rate", "X-Accel-Buffering", and "X-Accel-Charset" *) fix handling "Last-Modified" and "Accept-Ranges" for upstream responses *) clear "Accept-Ranges" for SSI responses
Diffstat (limited to 'src/http/modules')
-rw-r--r--src/http/modules/ngx_http_ssi_filter_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c
index 97b58fa0a..24b30a8fa 100644
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -360,6 +360,7 @@ ngx_http_ssi_header_filter(ngx_http_request_t *r)
if (r == r->main) {
ngx_http_clear_content_length(r);
ngx_http_clear_last_modified(r);
+ ngx_http_clear_accept_ranges(r);
}
return ngx_http_next_header_filter(r);