summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-18 00:21:14 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-18 00:21:14 +0300
commiteb675f2d78178b2cdd54d934022f9b739bfa8952 (patch)
tree0b072c752fff35cd5c4498cded7016a5738caa58 /src/nxt_application.h
parent47b359388cdf6348238e7fc05770426448049189 (diff)
downloadunit-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.h6
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);