mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 13:24:46 +08:00
win32 master process had aready closed listening sockets
This commit is contained in:
parent
165aa39230
commit
366bf71b82
@ -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…
Reference in New Issue
Block a user