Mercurial > hg > nginx-ranges
comparison src/http/modules/ngx_http_range_filter_module.c @ 463:a8424ffa495c NGINX_0_7_39
nginx 0.7.39
*) Bugfix: large response with SSI might hang, if gzipping was enabled;
the bug had appeared in 0.7.28.
Thanks to Artem Bokhan.
*) Bugfix: a segmentation fault might occur in worker process, if short
static variants are used in a "try_files" directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 02 Mar 2009 00:00:00 +0300 |
parents | b246022ef454 |
children | c8cfb6c462ef |
comparison
equal
deleted
inserted
replaced
462:9ef0e36f3cd5 | 463:a8424ffa495c |
---|---|
185 if (ctx == NULL) { | 185 if (ctx == NULL) { |
186 return NGX_ERROR; | 186 return NGX_ERROR; |
187 } | 187 } |
188 | 188 |
189 if (ngx_array_init(&ctx->ranges, r->pool, 1, sizeof(ngx_http_range_t)) | 189 if (ngx_array_init(&ctx->ranges, r->pool, 1, sizeof(ngx_http_range_t)) |
190 == NGX_ERROR) | 190 != NGX_OK) |
191 { | 191 { |
192 return NGX_ERROR; | 192 return NGX_ERROR; |
193 } | 193 } |
194 | 194 |
195 rc = ngx_http_range_parse(r, ctx); | 195 rc = ngx_http_range_parse(r, ctx); |