Mercurial > hg > nginx
comparison src/http/modules/ngx_http_range_filter_module.c @ 553:45033d85b30e release-0.2.5
nginx-0.2.5-RELEASE import
*) Change: the duplicate value of the ngx_http_geo_module variable now
causes the warning and changes old value.
*) Feature: the ngx_http_ssi_module supports the "set" command.
*) Feature: the ngx_http_ssi_module supports the "file" parameter in
the "include" command.
*) Feature: the ngx_http_ssi_module supports the variable value
substitutions in expressions of the "if" command.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 04 Oct 2005 10:38:53 +0000 |
parents | b09ee85d0ac8 |
children | 4d9ea73a627a |
comparison
equal
deleted
inserted
replaced
552:b6f3197058d3 | 553:45033d85b30e |
---|---|
132 ngx_http_range_t *range; | 132 ngx_http_range_t *range; |
133 ngx_http_range_filter_ctx_t *ctx; | 133 ngx_http_range_filter_ctx_t *ctx; |
134 | 134 |
135 if (r->http_version < NGX_HTTP_VERSION_10 | 135 if (r->http_version < NGX_HTTP_VERSION_10 |
136 || r->headers_out.status != NGX_HTTP_OK | 136 || r->headers_out.status != NGX_HTTP_OK |
137 || r->main | 137 || r->main != r |
138 || r->headers_out.content_length_n == -1 | 138 || r->headers_out.content_length_n == -1 |
139 || !r->filter_allow_ranges) | 139 || !r->filter_allow_ranges) |
140 { | 140 { |
141 return ngx_http_next_header_filter(r); | 141 return ngx_http_next_header_filter(r); |
142 } | 142 } |