diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-08-12 15:25:29 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-08-12 15:25:29 +0300 |
commit | 09685e2b4143ec19afef7673a455cf7e4d1414b7 (patch) | |
tree | 411475465b305cce6307fa6687398251fb916744 /src/nxt_router.h | |
parent | 2136eb411c9b99ffd65751bd13e10ce426be2492 (diff) | |
download | unit-09685e2b4143ec19afef7673a455cf7e4d1414b7.tar.gz unit-09685e2b4143ec19afef7673a455cf7e4d1414b7.tar.bz2 |
Responding with error in case of first process start failure.
After shared application port introducing, request queue in router was
removed and requests may stuck forever waiting for another process start.
Diffstat (limited to 'src/nxt_router.h')
-rw-r--r-- | src/nxt_router.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h index ead8f292..0b1147f8 100644 --- a/src/nxt_router.h +++ b/src/nxt_router.h @@ -138,6 +138,7 @@ struct nxt_app_s { nxt_str_t conf; nxt_atomic_t use_count; + nxt_queue_t ack_waiting_req; /* of nxt_http_request_t.app_link */ nxt_app_joint_t *joint; nxt_port_t *shared_port; |