Merge branch 'ploppy-fix_ipv6_crash'
This commit is contained in:
commit
6cc5d71ffe
|
@ -391,7 +391,7 @@ int worker_process_event_loop(WorkerProcessConfig *wpconf) {
|
|||
conn_handler.set_acceptor6(
|
||||
make_unique<AcceptHandler>(wpconf->server_fd6, &conn_handler));
|
||||
}
|
||||
if (wpconf->server_fd != 1) {
|
||||
if (wpconf->server_fd != -1) {
|
||||
conn_handler.set_acceptor(
|
||||
make_unique<AcceptHandler>(wpconf->server_fd, &conn_handler));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue