mirror of
https://github.com/nginx/nginx.git
synced 2026-10-23 12:32:56 +00:00
win32 master process had aready closed listening sockets
This commit is contained in:
parent
165aa39230
commit
366bf71b82
1 changed files with 2 additions and 1 deletions
|
|
@ -653,7 +653,8 @@ old_shm_zone_done:
|
|||
|
||||
ls = old_cycle->listening.elts;
|
||||
for (i = 0; i < old_cycle->listening.nelts; i++) {
|
||||
if (ls[i].remain) {
|
||||
|
||||
if (ls[i].remain || ls[i].fd == -1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue