Mercurial > hg > nginx
comparison src/http/modules/ngx_http_range_filter.c @ 314:d71c87d11b16
nginx-0.0.3-2004-04-14-09:57:36 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 Apr 2004 05:57:36 +0000 |
parents | a472bfb778b3 |
children | af451db3fe99 |
comparison
equal
deleted
inserted
replaced
313:98f1a8028067 | 314:d71c87d11b16 |
---|---|
89 || r->headers_out.status != NGX_HTTP_OK | 89 || r->headers_out.status != NGX_HTTP_OK |
90 || r->headers_out.content_length_n == -1 | 90 || r->headers_out.content_length_n == -1 |
91 | 91 |
92 /* STUB: we currently support ranges for file hunks only */ | 92 /* STUB: we currently support ranges for file hunks only */ |
93 || !r->sendfile | 93 || !r->sendfile |
94 || r->filter & NGX_HTTP_FILTER_NEED_IN_MEMORY) | 94 || r->filter & NGX_HTTP_FILTER_NEED_IN_MEMORY |
95 | |
96 || (r->headers_out.content_encoding | |
97 && r->headers_out.content_encoding->value.len)) | |
95 { | 98 { |
96 return ngx_http_next_header_filter(r); | 99 return ngx_http_next_header_filter(r); |
97 } | 100 } |
98 | 101 |
99 if (r->headers_in.range == NULL | 102 if (r->headers_in.range == NULL |