diff options
author | Max Romanov <max.romanov@nginx.com> | 2018-03-15 17:08:39 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2018-03-15 17:08:39 +0300 |
commit | 6da1207d952ec903d09bc793cb18f1f3834e6d1b (patch) | |
tree | 552891906e158ee297d29f8cf455a2bb1a6c3dd7 | |
parent | 7958a22de04a886850594674d487a091503b2df4 (diff) | |
download | unit-6da1207d952ec903d09bc793cb18f1f3834e6d1b.tar.gz unit-6da1207d952ec903d09bc793cb18f1f3834e6d1b.tar.bz2 |
Skipping idle state when port already closed.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_router.c | 2 |
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 |