aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-07-27 13:18:40 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-07-27 13:18:40 +0000
commitb477b2c2f43550859ac21ddbde9481de05dc13e5 (patch)
tree8c21cfd4e6f19fa81c8d2b0db79d1e4fcc071e4e
parentce1ba38b936ac4320ea3dfc21dc2ed6d777bfb90 (diff)
downloadnginx-b477b2c2f43550859ac21ddbde9481de05dc13e5.tar.gz
nginx-b477b2c2f43550859ac21ddbde9481de05dc13e5.zip
clear "Accept-Ranges" for SSI responses
-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);