Mercurial > hg > nginx-vendor-current
comparison src/os/unix/ngx_process_cycle.c @ 610:7ea1bba9a4f6 NGINX_0_9_3
nginx 0.9.3
*) Bugfix: if there was a single server for given IPv6 address:port
pair, then captures in regular expressions in a "server_name"
directive did not work.
*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
0.9.0.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 13 Dec 2010 00:00:00 +0300 |
parents | be70f83b184f |
children | eb208e0cf44d |
comparison
equal
deleted
inserted
replaced
609:f6fa6099ee59 | 610:7ea1bba9a4f6 |
---|---|
289 void | 289 void |
290 ngx_single_process_cycle(ngx_cycle_t *cycle) | 290 ngx_single_process_cycle(ngx_cycle_t *cycle) |
291 { | 291 { |
292 ngx_uint_t i; | 292 ngx_uint_t i; |
293 | 293 |
294 if (ngx_set_environment(cycle, NULL) == NULL) { | |
295 /* fatal */ | |
296 exit(2); | |
297 } | |
298 | |
294 for (i = 0; ngx_modules[i]; i++) { | 299 for (i = 0; ngx_modules[i]; i++) { |
295 if (ngx_modules[i]->init_process) { | 300 if (ngx_modules[i]->init_process) { |
296 if (ngx_modules[i]->init_process(cycle) == NGX_ERROR) { | 301 if (ngx_modules[i]->init_process(cycle) == NGX_ERROR) { |
297 /* fatal */ | 302 /* fatal */ |
298 exit(2); | 303 exit(2); |