Mercurial > hg > nginx-ranges
comparison src/core/ngx_file.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 | dac47e9ef0d5 |
children | c8cfb6c462ef |
comparison
equal
deleted
inserted
replaced
462:9ef0e36f3cd5 | 463:a8424ffa495c |
---|---|
257 | 257 |
258 if (path->name.data[path->name.len - 1] == '/') { | 258 if (path->name.data[path->name.len - 1] == '/') { |
259 path->name.len--; | 259 path->name.len--; |
260 } | 260 } |
261 | 261 |
262 if (ngx_conf_full_name(cf->cycle, &path->name, 0) == NGX_ERROR) { | 262 if (ngx_conf_full_name(cf->cycle, &path->name, 0) != NGX_OK) { |
263 return NULL; | 263 return NULL; |
264 } | 264 } |
265 | 265 |
266 path->len = 0; | 266 path->len = 0; |
267 path->cleaner = (ngx_gc_handler_pt) cmd->post; | 267 path->cleaner = (ngx_gc_handler_pt) cmd->post; |