summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 39cfd3bc..dbc8b283 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -3204,7 +3204,7 @@ re_ra_cancelled:
adjust_idle_timer = 0;
- if (!send_quit && port->app_pending_responses == 0) {
+ if (port->pair[1] != -1 && !send_quit && port->app_pending_responses == 0) {
nxt_assert(port->idle_link.next == NULL);
if (app->idle_processes == app->spare_processes