/unit/src/ |
H A D | nxt_http_rewrite.c | 12 nxt_http_rewrite_init(nxt_router_conf_t *rtcf, nxt_http_action_t *action, in nxt_http_rewrite_init() argument 19 action->rewrite = nxt_tstr_compile(rtcf->tstr_state, &str, 0); in nxt_http_rewrite_init() 20 if (nxt_slow_path(action->rewrite == NULL)) { in nxt_http_rewrite_init() 35 nxt_http_action_t *action; in nxt_http_rewrite() local 38 action = r->action; in nxt_http_rewrite() 40 if (action == NULL || action->rewrite == NULL) { in nxt_http_rewrite() 44 if (nxt_tstr_is_const(action->rewrite)) { in nxt_http_rewrite() 45 nxt_tstr_str(action->rewrite, &str); in nxt_http_rewrite() 56 nxt_tstr_query(task, r->tstr_query, action->rewrite, &str); in nxt_http_rewrite()
|
H A D | nxt_http_set_headers.c | 18 nxt_http_set_headers_init(nxt_router_conf_t *rtcf, nxt_http_action_t *action, in nxt_http_set_headers_init() argument 33 action->set_headers = headers; in nxt_http_set_headers_init() 102 nxt_http_action_t *action; in nxt_http_set_headers() local 105 action = r->action; in nxt_http_set_headers() 107 if (action == NULL || action->set_headers == NULL) { in nxt_http_set_headers() 117 header = action->set_headers->elts; in nxt_http_set_headers() 118 n = action->set_headers->nelts; in nxt_http_set_headers()
|
H A D | nxt_http_route.c | 201 nxt_http_action_t *action); 1325 tstr = action->u.tstr; in nxt_http_pass_var() 1345 action->u.pass = nxt_pointer_to(action, sizeof(nxt_http_action_t)); in nxt_http_pass_var() 1370 action = data; in nxt_http_pass_query_ready() 1375 ret = nxt_http_pass_find(r->mem_pool, rtcf, action->u.pass, action); in nxt_http_pass_query_ready() 1533 action->handler = NULL; in nxt_http_action_create() 1540 return action; in nxt_http_action_create() 1559 return action; in nxt_http_pass_application() 1590 r->action = action; in nxt_http_route_handler() 1593 return action; in nxt_http_route_handler() [all …]
|
H A D | nxt_upstream.c | 13 nxt_http_request_t *r, nxt_http_action_t *action); 76 nxt_http_action_t *action) in nxt_upstream_find() argument 90 action->u.upstream_number = i; in nxt_upstream_find() 91 action->handler = nxt_upstream_handler; in nxt_upstream_find() 142 nxt_http_action_t *action) in nxt_upstream_handler() argument 146 u = r->conf->upstreams[action->u.upstream_number]; in nxt_upstream_handler()
|
H A D | nxt_http_static.c | 32 nxt_http_action_t *action; member 93 action->handler = nxt_http_static; in nxt_http_static_init() 94 action->u.conf = conf; in nxt_http_static_init() 188 nxt_http_action_t *action) in nxt_http_static() argument 219 ctx->action = action; in nxt_http_static() 237 conf = ctx->action->u.conf; in nxt_http_static_iterate() 324 action = ctx->action; in nxt_http_static_send_ready() 325 conf = action->u.conf; in nxt_http_static_send_ready() 683 action = ctx->action; in nxt_http_static_next() 684 conf = action->u.conf; in nxt_http_static_next() [all …]
|
H A D | nxt_http_return.c | 24 nxt_http_request_t *r, nxt_http_action_t *action); 35 nxt_http_return_init(nxt_router_conf_t *rtcf, nxt_http_action_t *action, in nxt_http_return_init() argument 49 action->handler = nxt_http_return; in nxt_http_return_init() 50 action->u.conf = conf; in nxt_http_return_init() 76 nxt_http_action_t *action) in nxt_http_return() argument 83 conf = action->u.conf; in nxt_http_return()
|
H A D | nxt_http.h | 176 nxt_http_action_t *action; member 249 nxt_http_action_t *action); 377 nxt_conf_value_t *cv, nxt_http_action_t *action); 379 nxt_http_action_t *action); 387 nxt_http_action_t *action, nxt_http_action_conf_t *acf); 391 nxt_http_action_t *action, nxt_http_action_conf_t *acf); 395 nxt_http_action_t *action, nxt_http_action_conf_t *acf); 398 nxt_http_action_t *action, nxt_http_action_conf_t *acf); 406 nxt_http_request_t *r, nxt_http_action_t *action); 408 nxt_http_action_t *action); [all …]
|
H A D | nxt_router.h | 70 } action; member 174 nxt_http_action_t *action; member 246 nxt_http_action_t *action); 249 nxt_str_t *target, nxt_http_action_t *action);
|
H A D | nxt_http_proxy.c | 25 nxt_http_request_t *r, nxt_http_action_t *action); 53 nxt_http_proxy_init(nxt_mp_t *mp, nxt_http_action_t *action, in nxt_http_proxy_init() argument 95 action->u.upstream = up; in nxt_http_proxy_init() 96 action->handler = nxt_http_proxy; in nxt_http_proxy_init() 105 nxt_http_action_t *action) in nxt_http_proxy() argument 109 u = action->u.upstream; in nxt_http_proxy()
|
H A D | nxt_http_request.c | 546 nxt_http_action_t *action; in nxt_http_request_ready() local 550 action = r->conf->socket_conf->action; in nxt_http_request_ready() 552 nxt_http_request_action(task, r, action); in nxt_http_request_ready() 558 nxt_http_action_t *action) in nxt_http_request_action() argument 562 if (nxt_fast_path(action != NULL)) { in nxt_http_request_action() 570 action = action->handler(task, r, action); in nxt_http_request_action() 572 if (action == NULL) { in nxt_http_request_action() 576 if (action == NXT_HTTP_ACTION_ERROR) { in nxt_http_request_action() 589 nxt_http_action_t *action) in nxt_http_application_handler() argument 606 nxt_router_process_http_request(task, r, action); in nxt_http_application_handler()
|
H A D | nxt_conf.c | 881 op->action = NXT_CONF_OP_PASS; in nxt_conf_op_compile() 891 op->action = NXT_CONF_OP_DELETE; in nxt_conf_op_compile() 905 op->action = NXT_CONF_OP_PASS; in nxt_conf_op_compile() 915 op->action = NXT_CONF_OP_CREATE; in nxt_conf_op_compile() 922 op->action = NXT_CONF_OP_REPLACE; in nxt_conf_op_compile() 928 op->action = NXT_CONF_OP_CREATE; in nxt_conf_op_compile() 1035 if (op->action == NXT_CONF_OP_CREATE) { in nxt_conf_copy_array() 1038 } else if (op->action == NXT_CONF_OP_DELETE) { in nxt_conf_copy_array() 1085 switch (op->action) { in nxt_conf_copy_array() 1136 if (op->action == NXT_CONF_OP_CREATE) { in nxt_conf_copy_object() [all …]
|
H A D | nxt_router.c | 231 nxt_port_t *port, nxt_apr_action_t action); 2635 nxt_str_t *target, nxt_http_action_t *action) in nxt_router_application_init() argument 2652 action->handler = nxt_http_application_handler; in nxt_router_application_init() 2653 action->u.conf = conf; in nxt_router_application_init() 3219 recf->action = NXT_ROUTER_ENGINE_KEEP; in nxt_router_engines_create() 3242 recf->action = NXT_ROUTER_ENGINE_ADD; in nxt_router_engines_create() 3528 switch (recf->action) { in nxt_router_engines_post() 4670 nxt_apr_action_t action) in nxt_router_app_port_release() argument 4683 switch (action) { in nxt_router_app_port_release() 5139 nxt_http_action_t *action) in nxt_router_process_http_request() argument [all …]
|
H A D | nxt_conn.h | 158 const char *action; member
|
H A D | nxt_conf_validation.c | 1731 nxt_conf_value_t *action; in nxt_conf_vldt_action() local 1748 action = nxt_conf_get_object_member(value, &actions[i].name, NULL); in nxt_conf_vldt_action() 1750 if (action == NULL) { in nxt_conf_vldt_action()
|
/unit/test/ |
H A D | conftest.py | 35 action="store_true", 41 action="store_true", 47 action="store_true", 53 action="store_true", 70 action="store_true",
|
/unit/docs/ |
H A D | unit-openapi.yaml | 4628 - action: 4635 action: 4638 - action: 4901 - action: 4911 - action: 4924 - action: 5800 - action 5803 action: 5918 action." 5938 return action." [all …]
|
/unit/ |
H A D | CODE_OF_CONDUCT.md | 37 behavior and are expected to take appropriate and fair corrective action in
|
H A D | CHANGES | 88 *) Feature: "response_headers" option to manage headers in the action 236 action. 239 "return" action. 604 *) Feature: a "return" action with optional "location" for immediate 633 *) Feature: a "fallback" option that performs an alternative action if a
|
/unit/tools/ |
H A D | README.md | 95 echo '{"match":{"uri":"/wp-admin/*"},"action":{"return":403}}' | unitc INSERT /config/routes
|
/unit/pkg/deb/debian.module/ |
H A D | copyright.unit-jsc-common | 239 remainder of the terms of this Agreement, and without further action by the 278 Agreement will bring a legal action under this Agreement more than one year 279 after the cause of action arose. Each party waives its rights to a jury trial
|
/unit/pkg/rpm/rpmbuild/SOURCES/ |
H A D | COPYRIGHT.unit-jsc-common | 239 remainder of the terms of this Agreement, and without further action by the 278 Agreement will bring a legal action under this Agreement more than one year 279 after the cause of action arose. Each party waives its rights to a jury trial
|