comparison src/http/modules/ngx_http_range_filter_module.c @ 961:0d5ec8432efc

fix the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Fri, 29 Dec 2006 07:01:11 +0000
parents 20279ed90b19
children 69754fb59ba1
comparison
equal deleted inserted replaced
960:20279ed90b19 961:0d5ec8432efc
469 ngx_buf_t *b, *buf; 469 ngx_buf_t *b, *buf;
470 ngx_chain_t *out, *hcl, *rcl, *dcl, **ll; 470 ngx_chain_t *out, *hcl, *rcl, *dcl, **ll;
471 ngx_http_range_t *range; 471 ngx_http_range_t *range;
472 ngx_http_range_filter_ctx_t *ctx; 472 ngx_http_range_filter_ctx_t *ctx;
473 473
474 if (in == NULL || r->headers_out.ranges.nelts == 0) { 474 if (in == NULL
475 || r->headers_out.ranges.nelts == 0
476 || ngx_buf_special(in->buf))
477 {
475 return ngx_http_next_body_filter(r, in); 478 return ngx_http_next_body_filter(r, in);
476 } 479 }
477 480
478 range = r->headers_out.ranges.elts; 481 range = r->headers_out.ranges.elts;
479 buf = in->buf; 482 buf = in->buf;