diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-06 19:49:18 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-06 19:49:18 +0000 |
commit | 0ab91b901299ac41e3867ebec7e04e5082a4c8b4 (patch) | |
tree | b89e863c141bc482c85c351f84d9dca1d3570789 /src/http/modules/ngx_http_static_handler.c | |
parent | 6e1bbd78967660b49e3a120bbeec6382ed193d5f (diff) | |
download | nginx-0ab91b901299ac41e3867ebec7e04e5082a4c8b4.tar.gz nginx-0ab91b901299ac41e3867ebec7e04e5082a4c8b4.zip |
nginx-0.0.3-2004-06-06-23:49:18 import
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_static_handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c index 532e8faab..9c11c7eb1 100644 --- a/src/http/modules/ngx_http_static_handler.c +++ b/src/http/modules/ngx_http_static_handler.c @@ -480,7 +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; + r->filter_allow_ranges = 1; rc = ngx_http_send_header(r); if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { |