Mercurial > hg > nginx
comparison src/core/nginx.c @ 4293:3bae3d8fb573
Fixed handling of SIGWINCH/NOACCEPT signal.
After first upgrade it was ignored since r4020 (1.1.1, 1.0.9) as
ngx_daemonized wasn't set.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 15 Nov 2011 20:35:41 +0000 |
parents | f72496073689 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4292:b272408fa698 | 4293:3bae3d8fb573 |
---|---|
372 } | 372 } |
373 | 373 |
374 ngx_daemonized = 1; | 374 ngx_daemonized = 1; |
375 } | 375 } |
376 | 376 |
377 if (ngx_inherited) { | |
378 ngx_daemonized = 1; | |
379 } | |
380 | |
377 #endif | 381 #endif |
378 | 382 |
379 if (ngx_create_pidfile(&ccf->pid, cycle->log) != NGX_OK) { | 383 if (ngx_create_pidfile(&ccf->pid, cycle->log) != NGX_OK) { |
380 return 1; | 384 return 1; |
381 } | 385 } |