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_http.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_http.h')
-rw-r--r-- | src/nxt_http.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h index 67ac00d8..6c84843f 100644 --- a/src/nxt_http.h +++ b/src/nxt_http.h @@ -169,6 +169,10 @@ struct nxt_http_request_s { nxt_http_peer_t *peer; nxt_buf_t *last; + nxt_queue_link_t app_link; /* nxt_app_t.ack_waiting_req */ + nxt_event_engine_t *engine; + nxt_work_t err_work; + nxt_http_response_t resp; nxt_http_status_t status:16; |