mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
fix segfault
This commit is contained in:
parent
95ead46111
commit
17e0e1a554
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ ngx_event_process_init(ngx_cycle_t *cycle)
|
|||
ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module);
|
||||
ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module);
|
||||
|
||||
if (ccf->worker_processes > 1 && ecf->accept_mutex) {
|
||||
if (ccf->master && ccf->worker_processes > 1 && ecf->accept_mutex) {
|
||||
ngx_use_accept_mutex = 1;
|
||||
ngx_accept_mutex_held = 0;
|
||||
ngx_accept_mutex_delay = ecf->accept_mutex_delay;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue