comparison src/core/nginx.c @ 646:615b5ea36fc0 NGINX_1_1_7

nginx 1.1.7 *) Feature: support of several resolvers in the "resolver" directive. Thanks to Kirill A. Korinskiy. *) Bugfix: a segmentation fault occurred on start or while reconfiguration if the "ssl" directive was used at http level and there was no "ssl_certificate" defined. *) Bugfix: reduced memory consumption while proxying of big files if they were buffered to disk. *) Bugfix: a segmentation fault might occur in a worker process if "proxy_http_version 1.1" directive was used. *) Bugfix: in the "expires @time" directive.
author Igor Sysoev <http://sysoev.ru>
date Mon, 31 Oct 2011 00:00:00 +0400
parents 428c6e58046a
children f200748c0ac8
comparison
equal deleted inserted replaced
645:e461dead01e9 646:615b5ea36fc0
200 { 200 {
201 ngx_int_t i; 201 ngx_int_t i;
202 ngx_log_t *log; 202 ngx_log_t *log;
203 ngx_cycle_t *cycle, init_cycle; 203 ngx_cycle_t *cycle, init_cycle;
204 ngx_core_conf_t *ccf; 204 ngx_core_conf_t *ccf;
205
206 ngx_debug_init();
205 207
206 if (ngx_strerror_init() != NGX_OK) { 208 if (ngx_strerror_init() != NGX_OK) {
207 return 1; 209 return 1;
208 } 210 }
209 211
258 if (!ngx_test_config) { 260 if (!ngx_test_config) {
259 return 0; 261 return 0;
260 } 262 }
261 } 263 }
262 264
263 #if (NGX_FREEBSD)
264 ngx_debug_init();
265 #endif
266
267 /* TODO */ ngx_max_sockets = -1; 265 /* TODO */ ngx_max_sockets = -1;
268 266
269 ngx_time_init(); 267 ngx_time_init();
270 268
271 #if (NGX_PCRE) 269 #if (NGX_PCRE)