From 0ab91b901299ac41e3867ebec7e04e5082a4c8b4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 6 Jun 2004 19:49:18 +0000 Subject: nginx-0.0.3-2004-06-06-23:49:18 import --- src/http/modules/ngx_http_static_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules/ngx_http_static_handler.c') 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) { -- cgit