Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 90) sorted by last modified time

1234

/unit/test/unit/applications/
H A Dproto.py46 def _load_conf(self, conf, **kwargs): argument
47 if 'applications' in conf:
48 for app in conf['applications'].keys():
49 app_conf = conf['applications'][app]
61 assert 'success' in self.conf(conf), 'load application configuration'
/unit/test/
H A Dtest_tls.py19 assert 'success' in self.conf(
28 assert 'success' in self.conf(
533 assert 'success' in self.conf(
568 assert 'success' in self.conf(
601 assert 'success' in self.conf('1', 'applications/mirror/processes')
H A Dtest_static_chroot.py27 return self.conf(
91 assert 'success' in self.conf({"share": ".$uri"}, 'routes/0/action')
150 assert 'error' in self.conf(
154 assert 'error' in self.conf(
158 assert 'error' in self.conf(
H A Dtest_tls_sni.py24 assert 'success' in self.conf(
30 assert 'success' in self.conf({"pass": "routes"}, 'listeners/*:7080')
283 assert 'error' in self.conf(
H A Dtest_client_ip.py8 assert 'success' in self.conf(
132 assert 'error' in self.conf(
143 assert 'error' in self.conf(
H A Dtest_forwarded_header.py8 assert 'success' in self.conf(
240 assert 'error' in self.conf(
251 assert 'error' in self.conf(
H A Dtest_variables.py8 assert 'success' in self.conf(
26 assert 'success' in self.conf(routes, 'listeners/*:7080/pass')
98 assert 'success' in self.conf(
114 assert 'success' in self.conf(
129 assert 'error' in self.conf(
H A Dtest_reconfigure_tls.py19 assert 'success' in self.conf(
46 assert 'success' in self.conf({"listeners": {}, "applications": {}})
58 assert 'success' in self.conf(
H A Dtest_static.py56 assert 'success' in self.conf(
63 assert 'success' in self.conf(
69 assert 'success' in self.conf(
277 assert 'success' in self.conf(
301 assert 'success' in self.conf(
310 assert 'success' in self.conf(
348 assert 'success' in self.conf(
358 assert 'success' in self.conf(
367 assert 'error' in self.conf(
371 assert 'error' in self.conf(
[all …]
H A Dtest_return.py61 assert 'success' in self.conf('0', 'routes/0/action/return')
98 assert 'success' in self.conf(
144 assert 'success' in self.conf(
154 assert 'success' in self.conf(
164 assert 'success' in self.conf(
169 assert 'success' in self.conf(
181 assert 'success' in self.conf(
186 assert 'success' in self.conf(
197 def check_error(conf): argument
198 assert 'error' in self.conf(conf, 'routes/0/action')
[all …]
H A Dtest_ruby_application.py217 assert 'success' in self.conf({"listeners": {}, "applications": {}})
253 assert 'success' in self.conf(
393 assert 'success' in self.conf(
H A Dtest_python_application.py125 assert 'success' in self.conf(
153 assert 'success' in self.conf({"listeners": {}, "applications": {}})
288 assert 'success' in self.conf(
301 assert 'success' in self.conf({"listeners": {}, "applications": {}})
762 assert 'success' in self.conf(path, 'applications/path/path')
768 assert 'success' in self.conf(
793 assert 'error' in self.conf(path, 'applications/path/path')
/unit/test/unit/applications/lang/
H A Dgo.py93 conf = {
105 self._load_conf(conf, **kwargs)
/unit/src/
H A Dnxt_http_static.c82 nxt_http_static_conf_t *conf; in nxt_http_static_init() local
92 action->u.conf = conf; in nxt_http_static_init()
110 conf->shares[i].var = var; in nxt_http_static_init()
232 conf = ctx->action->u.conf; in nxt_http_static_iterate()
241 idx = conf->index; in nxt_http_static_iterate()
246 if (conf->chroot != NULL) { in nxt_http_static_iterate()
312 nxt_http_static_conf_t *conf; in nxt_http_static_send_ready() local
317 conf = action->u.conf; in nxt_http_static_send_ready()
324 index = &conf->index; in nxt_http_static_send_ready()
376 resolve = conf->resolve; in nxt_http_static_send_ready()
[all …]
H A Dnxt_http_request.c229 max_body_size = r->conf->socket_conf->max_body_size; in nxt_http_request_content_length()
310 skcf = r->conf->socket_conf; in nxt_http_request_start()
542 action = r->conf->socket_conf->action; in nxt_http_request_ready()
797 nxt_socket_conf_joint_t *conf; in nxt_http_request_close_handler() local
805 conf = r->conf; in nxt_http_request_close_handler()
810 access_log = conf->socket_conf->router_conf->access_log; in nxt_http_request_close_handler()
830 nxt_http_proto[protocol].close(task, proto, conf); in nxt_http_request_close_handler()
H A Dnxt_http.h134 nxt_socket_conf_joint_t *conf; member
242 void *conf; member
368 nxt_conf_value_t *conf);
H A Dnxt_conf.h71 nxt_conf_value_t *conf; member
H A Dnxt_router.c1585 app->conf.length = p - app->conf.start; in nxt_router_conf_create()
1593 if (prev != NULL && nxt_strstr_eq(&app->conf, &prev->conf)) { in nxt_router_conf_create()
1891 if (conf != NULL) { in nxt_router_conf_create()
1900 if (conf != NULL) { in nxt_router_conf_create()
2060 nxt_conf_value_t *conf) in nxt_router_conf_process_static() argument
2078 if (conf == NULL) { in nxt_router_conf_process_static()
2443 action->u.conf = conf; in nxt_router_application_init()
2445 conf->app = app; in nxt_router_application_init()
2452 conf->target = i; in nxt_router_application_init()
2455 conf->target = 0; in nxt_router_application_init()
[all …]
H A Dnxt_router.h141 nxt_str_t conf; member
H A Dnxt_http_route.c1341 rtcf = r->conf->socket_conf->router_conf; in nxt_http_pass_var_ready()
H A Dnxt_h1proto.c508 r->conf = joint; in nxt_h1p_conn_request_init()
584 if (c->u.tls == NULL && r->conf->socket_conf->tls != NULL) { in nxt_h1p_conn_request_header_parse()
598 status = nxt_h1p_header_buffer_test(task, h1p, c, r->conf->socket_conf); in nxt_h1p_conn_request_header_parse()
879 body_buffer_size = nxt_min(r->conf->socket_conf->body_buffer_size, in nxt_h1p_request_body_read()
883 tmp_path = &r->conf->socket_conf->body_temp_path; in nxt_h1p_request_body_read()
1669 return nxt_value_at(nxt_msec_t, h1p->request->conf->socket_conf, data); in nxt_h1p_conn_request_timer_value()
2461 skcf = r->conf->socket_conf; in nxt_h1p_peer_io_read_handler()
2810 return nxt_value_at(nxt_msec_t, peer->request->conf->socket_conf, data); in nxt_h1p_peer_timer_value()
H A Dnxt_conf_validation.c1213 ret = nxt_conf_vldt_type(vldt, NULL, vldt->conf, NXT_CONF_VLDT_OBJECT); in nxt_conf_validate()
1218 return nxt_conf_vldt_object(vldt, vldt->conf, nxt_conf_vldt_root_members); in nxt_conf_validate()
1555 value = nxt_conf_get_object_member(vldt->conf, &segments[0], NULL); in nxt_conf_vldt_pass()
1590 value = nxt_conf_get_object_member(vldt->conf, &segments[0], NULL); in nxt_conf_vldt_pass()
1611 value = nxt_conf_get_object_member(vldt->conf, &segments[0], NULL); in nxt_conf_vldt_pass()
2326 apps = nxt_conf_get_object_member(vldt->conf, &apps_str, NULL); in nxt_conf_vldt_app_name()
3012 nxt_conf_value_t *conf; in nxt_conf_vldt_upstream() local
3028 conf = nxt_conf_get_object_member(value, &servers, NULL); in nxt_conf_vldt_upstream()
3029 if (conf == NULL) { in nxt_conf_vldt_upstream()
H A Dnxt_http_return.c39 nxt_http_return_conf_t *conf; in nxt_http_return_init() local
42 if (nxt_slow_path(conf == NULL)) { in nxt_http_return_init()
47 action->u.conf = conf; in nxt_http_return_init()
63 nxt_var_raw(conf->location, &str); in nxt_http_return_init()
77 nxt_http_return_conf_t *conf; in nxt_http_return() local
79 conf = action->u.conf; in nxt_http_return()
84 if (conf->location == NULL) { in nxt_http_return()
88 nxt_var_raw(conf->location, &loc); in nxt_http_return()
101 if (conf->location == NULL) { in nxt_http_return()
111 r->status = conf->status; in nxt_http_return()
[all …]
H A Dnxt_openssl.c29 nxt_tls_conf_t *conf; member
309 conf = tls_init->conf; in nxt_openssl_server_init()
311 bundle = conf->bundle; in nxt_openssl_server_init()
364 ciphers = (conf->ciphers != NULL) ? conf->ciphers : "HIGH:!aNULL:!MD5"; in nxt_openssl_server_init()
468 bundle = conf->bundle;
861 bundle = conf->bundle;
1076 conf = tls->conf;
1140 bundle = conf->bundle;
1148 if (conf->tickets) {
1178 ctx = conf->bundle->ctx;
[all …]
/unit/src/ruby/
H A Dnxt_ruby.c270 nxt_common_app_conf_t *conf; in nxt_ruby_start() local
274 conf = data->app; in nxt_ruby_start()
275 c = &conf->u.ruby; in nxt_ruby_start()
364 nxt_unit_default_init(task, &ruby_unit_init, conf); in nxt_ruby_start()

1234