mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08: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;
|
rev->handler = ngx_event_accept;
|
||||||
|
|
||||||
if (ngx_use_accept_mutex) {
|
if (ngx_use_accept_mutex
|
||||||
|
#if (NGX_HAVE_REUSEPORT)
|
||||||
|
&& !ls[i].reuseport
|
||||||
|
#endif
|
||||||
|
)
|
||||||
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user