Mercurial > hg > nginx-mail
comparison src/core/ngx_cycle.c @ 493: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 | 76a79816b771 |
children | 6866b490272e |
comparison
equal
deleted
inserted
replaced
492:9ef0e36f3cd5 | 493:a8424ffa495c |
---|---|
134 } else { | 134 } else { |
135 n = 20; | 135 n = 20; |
136 } | 136 } |
137 | 137 |
138 if (ngx_list_init(&cycle->open_files, pool, n, sizeof(ngx_open_file_t)) | 138 if (ngx_list_init(&cycle->open_files, pool, n, sizeof(ngx_open_file_t)) |
139 == NGX_ERROR) | 139 != NGX_OK) |
140 { | 140 { |
141 ngx_destroy_pool(pool); | 141 ngx_destroy_pool(pool); |
142 return NULL; | 142 return NULL; |
143 } | 143 } |
144 | 144 |
153 } else { | 153 } else { |
154 n = 1; | 154 n = 1; |
155 } | 155 } |
156 | 156 |
157 if (ngx_list_init(&cycle->shared_memory, pool, n, sizeof(ngx_shm_zone_t)) | 157 if (ngx_list_init(&cycle->shared_memory, pool, n, sizeof(ngx_shm_zone_t)) |
158 == NGX_ERROR) | 158 != NGX_OK) |
159 { | 159 { |
160 ngx_destroy_pool(pool); | 160 ngx_destroy_pool(pool); |
161 return NULL; | 161 return NULL; |
162 } | 162 } |
163 | 163 |