diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-07-18 00:21:28 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-07-18 00:21:28 +0300 |
commit | 6b6fefa497fac704c729fcd784f0e2561ba9656a (patch) | |
tree | f60ac011ba9625a618294082989ae0e0dddfd990 /src/nxt_conn.h | |
parent | 31e5992f88cd872cafa3b6384753d2970ba10041 (diff) | |
download | unit-6b6fefa497fac704c729fcd784f0e2561ba9656a.tar.gz unit-6b6fefa497fac704c729fcd784f0e2561ba9656a.tar.bz2 |
Request-app link introduced to prevent mp destroy for penging requests.
nxt_req_conn_link_t still used for lookup connection by request id.
New nxt_req_app_link_t (ra) allocated from conn->mem_pool using mp_retain().
ra stored in app->requests if there is no free worker to process request.
Diffstat (limited to 'src/nxt_conn.h')
-rw-r--r-- | src/nxt_conn.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nxt_conn.h b/src/nxt_conn.h index c08ed376..f08eafdd 100644 --- a/src/nxt_conn.h +++ b/src/nxt_conn.h @@ -189,11 +189,8 @@ typedef struct { nxt_req_id_t req_id; nxt_conn_t *conn; nxt_port_t *app_port; - nxt_port_t *reply_port; - nxt_app_parse_ctx_t *ap; nxt_queue_link_t link; /* for nxt_conn_t.requests */ - nxt_queue_link_t app_link; /* for nxt_app_t.requests */ } nxt_req_conn_link_t; |