nxt_conf_validation.c (1110:4ca6df50b4d4) nxt_conf_validation.c (1131:ec7d924d8dfb)
1
2/*
3 * Copyright (C) Valentin V. Bartenev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8#include <nxt_conf.h>

--- 88 unchanged lines hidden (view full) ---

97static nxt_int_t nxt_conf_vldt_php_option(nxt_conf_validation_t *vldt,
98 nxt_str_t *name, nxt_conf_value_t *value);
99static nxt_int_t nxt_conf_vldt_java_classpath(nxt_conf_validation_t *vldt,
100 nxt_conf_value_t *value);
101static nxt_int_t nxt_conf_vldt_java_option(nxt_conf_validation_t *vldt,
102 nxt_conf_value_t *value);
103
104
1
2/*
3 * Copyright (C) Valentin V. Bartenev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8#include <nxt_conf.h>

--- 88 unchanged lines hidden (view full) ---

97static nxt_int_t nxt_conf_vldt_php_option(nxt_conf_validation_t *vldt,
98 nxt_str_t *name, nxt_conf_value_t *value);
99static nxt_int_t nxt_conf_vldt_java_classpath(nxt_conf_validation_t *vldt,
100 nxt_conf_value_t *value);
101static nxt_int_t nxt_conf_vldt_java_option(nxt_conf_validation_t *vldt,
102 nxt_conf_value_t *value);
103
104
105static nxt_conf_vldt_object_t nxt_conf_vldt_websocket_members[] = {
106 { nxt_string("read_timeout"),
107 NXT_CONF_VLDT_INTEGER,
108 NULL,
109 NULL },
110
111 { nxt_string("keepalive_interval"),
112 NXT_CONF_VLDT_INTEGER,
113 NULL,
114 NULL },
115
116 { nxt_string("max_frame_size"),
117 NXT_CONF_VLDT_INTEGER,
118 NULL,
119 NULL },
120
121 NXT_CONF_VLDT_END
122};
123
124
105static nxt_conf_vldt_object_t nxt_conf_vldt_http_members[] = {
106 { nxt_string("header_read_timeout"),
107 NXT_CONF_VLDT_INTEGER,
108 NULL,
109 NULL },
110
111 { nxt_string("body_read_timeout"),
112 NXT_CONF_VLDT_INTEGER,

--- 10 unchanged lines hidden (view full) ---

123 NULL,
124 NULL },
125
126 { nxt_string("max_body_size"),
127 NXT_CONF_VLDT_INTEGER,
128 NULL,
129 NULL },
130
125static nxt_conf_vldt_object_t nxt_conf_vldt_http_members[] = {
126 { nxt_string("header_read_timeout"),
127 NXT_CONF_VLDT_INTEGER,
128 NULL,
129 NULL },
130
131 { nxt_string("body_read_timeout"),
132 NXT_CONF_VLDT_INTEGER,

--- 10 unchanged lines hidden (view full) ---

143 NULL,
144 NULL },
145
146 { nxt_string("max_body_size"),
147 NXT_CONF_VLDT_INTEGER,
148 NULL,
149 NULL },
150
151 { nxt_string("websocket"),
152 NXT_CONF_VLDT_OBJECT,
153 &nxt_conf_vldt_object,
154 (void *) &nxt_conf_vldt_websocket_members },
155
131 NXT_CONF_VLDT_END
132};
133
134
135static nxt_conf_vldt_object_t nxt_conf_vldt_setting_members[] = {
136 { nxt_string("http"),
137 NXT_CONF_VLDT_OBJECT,
138 &nxt_conf_vldt_object,

--- 1271 unchanged lines hidden ---
156 NXT_CONF_VLDT_END
157};
158
159
160static nxt_conf_vldt_object_t nxt_conf_vldt_setting_members[] = {
161 { nxt_string("http"),
162 NXT_CONF_VLDT_OBJECT,
163 &nxt_conf_vldt_object,

--- 1271 unchanged lines hidden ---