Mercurial > hg > nginx
comparison src/http/modules/ngx_http_xslt_filter_module.c @ 2158:18e85d78fb0c
disable ranges, because xslt filter runs after range body filter
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 06 Aug 2008 09:38:34 +0000 |
parents | 0c6d0bd60579 |
children | 0ec936b0010a |
comparison
equal
deleted
inserted
replaced
2157:69ef10ad7011 | 2158:18e85d78fb0c |
---|---|
337 if (r->headers_out.content_length) { | 337 if (r->headers_out.content_length) { |
338 r->headers_out.content_length->hash = 0; | 338 r->headers_out.content_length->hash = 0; |
339 r->headers_out.content_length = NULL; | 339 r->headers_out.content_length = NULL; |
340 } | 340 } |
341 | 341 |
342 r->allow_ranges = 1; | |
343 | |
344 rc = ngx_http_next_header_filter(r); | 342 rc = ngx_http_next_header_filter(r); |
345 | 343 |
346 if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { | 344 if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { |
347 ngx_free(b->pos); | 345 ngx_free(b->pos); |
348 return rc; | 346 return rc; |