summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-12-24 18:04:09 +0300
committerMax Romanov <max.romanov@nginx.com>2019-12-24 18:04:09 +0300
commit64f649f9903e226421869376bc72a8513581d7d0 (patch)
tree02753ac43ca918167e64338311f4cc4d78edd8c8 /src/nxt_conf_validation.c
parent429c5a1c54fbc457c6caf6503525fd22225a4e22 (diff)
downloadunit-64f649f9903e226421869376bc72a8513581d7d0.tar.gz
unit-64f649f9903e226421869376bc72a8513581d7d0.tar.bz2
Adding "limits/shm" configuration validation and parsing.
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index 105af675..923e6c8c 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -358,6 +358,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_app_limits_members[] = {
NULL,
NULL },
+ { nxt_string("shm"),
+ NXT_CONF_VLDT_INTEGER,
+ NULL,
+ NULL },
+
NXT_CONF_VLDT_END
};