comparison src/http/modules/ngx_http_range_filter_module.c @ 146:36af50a5582d NGINX_0_3_20

nginx 0.3.20 *) Bugfix: in SSI handling. *) Bugfix: the ngx_http_memcached_module did not support the keys in the "/usr?args" form.
author Igor Sysoev <http://sysoev.ru>
date Wed, 11 Jan 2006 00:00:00 +0300
parents 82d695e3d662
children 3866d57d9cfd
comparison
equal deleted inserted replaced
145:85a84f8da62b 146:36af50a5582d
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 != r 137 || r != r->main
138 || r->headers_out.content_length_n == -1 138 || r->headers_out.content_length_n == -1
139 || !r->allow_ranges) 139 || !r->allow_ranges)
140 { 140 {
141 return ngx_http_next_header_filter(r); 141 return ngx_http_next_header_filter(r);
142 } 142 }