diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-07-18 00:21:14 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-07-18 00:21:14 +0300 |
commit | eb675f2d78178b2cdd54d934022f9b739bfa8952 (patch) | |
tree | 0b072c752fff35cd5c4498cded7016a5738caa58 /src/nxt_application.h | |
parent | 47b359388cdf6348238e7fc05770426448049189 (diff) | |
download | unit-eb675f2d78178b2cdd54d934022f9b739bfa8952.tar.gz unit-eb675f2d78178b2cdd54d934022f9b739bfa8952.tar.bz2 |
Port allocation and destroy changed. Worker process stop introduced.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_application.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h index 449f1158..460ef8ce 100644 --- a/src/nxt_application.h +++ b/src/nxt_application.h @@ -100,11 +100,13 @@ typedef struct { } nxt_app_request_t; -typedef struct { +typedef struct nxt_app_parse_ctx_s nxt_app_parse_ctx_t; + +struct nxt_app_parse_ctx_s { nxt_app_request_t r; nxt_http_request_parse_t parser; nxt_mp_t *mem_pool; -} nxt_app_parse_ctx_t; +}; nxt_int_t nxt_app_http_req_init(nxt_task_t *task, nxt_app_parse_ctx_t *ctx); |