mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
Fixed reuseport with accept_mutex.
This commit is contained in:
parent
941a6995d7
commit
b4619182bb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user