mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
Fixed reuseport with accept_mutex.
This commit is contained in:
parent
941a6995d7
commit
b4619182bb
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue