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.
This commit is contained in:
Max Romanov
2020-08-12 15:25:29 +03:00
parent 2136eb411c
commit 09685e2b41
3 changed files with 129 additions and 18 deletions

View File

@@ -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;