From 1feeda45144fd1d4fb12621f54342114069e7ecb Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 15 Sep 2021 21:00:41 +0900 Subject: [PATCH] nghttpx: Fix bug that worker process never exit --- src/shrpx_quic_connection_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_quic_connection_handler.cc b/src/shrpx_quic_connection_handler.cc index 0f3590e0..c792f489 100644 --- a/src/shrpx_quic_connection_handler.cc +++ b/src/shrpx_quic_connection_handler.cc @@ -596,7 +596,7 @@ CloseWait::~CloseWait() { --worker_stat->num_close_waits; if (worker->get_graceful_shutdown() && worker_stat->num_connections == 0 && - worker_stat->num_close_waits) { + worker_stat->num_close_waits == 0) { ev_break(loop); } }