Mercurial > hg > nginx
diff src/http/modules/ngx_http_static_handler.c @ 334:af451db3fe99
nginx-0.0.3-2004-05-12-09:37:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 12 May 2004 05:37:55 +0000 |
parents | 5cfd65b8b0a7 |
children | 6bdf858bff8c |
line wrap: on
line diff
--- 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 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) {