aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_static_handler.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-05-12 05:37:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-05-12 05:37:55 +0000
commit31f7f6a5410c258e9ad85a4b166804bc57b4c0b9 (patch)
treefc7e941d377f9059784e4cfcaa3ac81d1ff2a197 /src/http/modules/ngx_http_static_handler.c
parentd365af4a15a86f4d3f2774b197ef417dbce8a164 (diff)
downloadnginx-31f7f6a5410c258e9ad85a4b166804bc57b4c0b9.tar.gz
nginx-31f7f6a5410c258e9ad85a4b166804bc57b4c0b9.zip
nginx-0.0.3-2004-05-12-09:37:55 import
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r--src/http/modules/ngx_http_static_handler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c
index ae1b8170d..d06113b8a 100644
--- a/src/http/modules/ngx_http_static_handler.c
+++ b/src/http/modules/ngx_http_static_handler.c
@@ -480,6 +480,7 @@ static ngx_int_t ngx_http_static_handler(ngx_http_request_t *r)
return NGX_HTTP_INTERNAL_SERVER_ERROR;
}
+ r->filter |= NGX_HTTP_FILTER_ALLOW_RANGES;
rc = ngx_http_send_header(r);
if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) {