summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2022-07-14 04:32:49 +0800
committerZhidao HONG <z.hong@f5.com>2022-07-14 04:32:49 +0800
commit45b89e32577eef18e473d0c7ae24562e7efedcc0 (patch)
treed7058ec9ad0fb257897873cc1429182425d17b9b /src/nxt_router.h
parent7b80186f097fda3d1c0758a30efa889ec89c5a9d (diff)
downloadunit-45b89e32577eef18e473d0c7ae24562e7efedcc0.tar.gz
unit-45b89e32577eef18e473d0c7ae24562e7efedcc0.tar.bz2
Var: dynamic variables support.
This commit adds the variables $arg_NAME, $header_NAME, and $cookie_NAME.
Diffstat (limited to '')
-rw-r--r--src/nxt_router.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index 37008f9d..8c21a70a 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -43,6 +43,7 @@ typedef struct {
uint32_t threads;
nxt_mp_t *mem_pool;
+ nxt_array_t *var_fields; /* of nxt_var_field_t */
nxt_router_t *router;
nxt_http_routes_t *routes;