Fixed reuseport with accept_mutex.

This commit is contained in:
Maxim Dounin 2015-05-21 19:39:11 +03:00
parent 941a6995d7
commit b4619182bb

View File

@ -811,7 +811,12 @@ ngx_event_process_init(ngx_cycle_t *cycle)
rev->handler = ngx_event_accept;
if (ngx_use_accept_mutex) {
if (ngx_use_accept_mutex
#if (NGX_HAVE_REUSEPORT)
&& !ls[i].reuseport
#endif
)
{
continue;
}