Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 105) sorted by last modified time

12345

/unit/src/
H A Dnxt_var.c320 index[i] = decl->handler; in nxt_var_index_init()
H A Dnxt_var.h22 nxt_var_handler_t handler; member
H A Dnxt_router.h226 void (*handler)(nxt_task_t *task, nxt_http_request_t *r, member
H A Dnxt_router_access_log.c107 access_log->handler = &nxt_router_access_log_writer; in nxt_router_access_log_create()
H A Dnxt_router.c164 nxt_work_handler_t handler);
2489 action->handler = nxt_http_application_handler; in nxt_router_application_init()
3170 nxt_work_handler_t handler) in nxt_router_engine_joints_create() argument
3191 job->work.handler = handler; in nxt_router_engine_joints_create()
3239 job->work.handler = nxt_router_worker_thread_quit; in nxt_router_engine_quit()
3471 work->handler = nxt_router_rt_add_port; in nxt_router_thread_start()
3535 job->work.handler = nxt_router_conf_wait; in nxt_router_listen_socket_create()
3589 job->work.handler = nxt_router_conf_wait; in nxt_router_listen_socket_update()
3674 job->work.handler = nxt_router_conf_wait; in nxt_router_listen_socket_close()
3891 r->timer.handler = nxt_router_app_timeout; in nxt_router_response_ready_handler()
[all …]
H A Dnxt_http_static.c93 action->handler = nxt_http_static; in nxt_http_static_init()
H A Dnxt_http_variables.c49 .handler = nxt_http_var_dollar,
55 .handler = nxt_http_var_method,
61 .handler = nxt_http_var_uri,
64 .handler = nxt_http_var_host,
70 .handler = nxt_http_var_time_local,
76 .handler = nxt_http_var_status,
82 .handler = nxt_http_var_referer,
85 .handler = nxt_http_var_user_agent,
88 .handler = nxt_http_var_arg,
92 .handler = nxt_http_var_header,
[all …]
H A Dnxt_http_return.c49 action->handler = nxt_http_return; in nxt_http_return_init()
H A Dnxt_http_route.c1267 if (action->handler != NULL) { in nxt_http_action_resolve()
1285 action->handler = nxt_http_pass_var; in nxt_http_action_resolve()
1475 action->handler = nxt_http_route_handler; in nxt_http_route_find()
1509 action->handler = NULL; in nxt_http_action_create()
H A Dnxt_http_js.c35 .handler = nxt_http_js_ext_uri,
44 .handler = nxt_http_js_ext_host,
53 .handler = nxt_http_js_ext_remote_addr,
H A Dnxt_http_request.c561 action = action->handler(task, r, action); in nxt_http_request_action()
819 access_log->handler(task, r, access_log, log_format); in nxt_http_request_close_handler()
H A Dnxt_http.h241 nxt_http_action_t *(*handler)(nxt_task_t *task, member
H A Dnxt_php_sapi.c198 nxt_php_chdir_handler = func->internal_function.handler; in PHP_MINIT_FUNCTION()
199 func->internal_function.handler = nxt_php_chdir; in PHP_MINIT_FUNCTION()
H A Dnxt_openssl.c1245 nxt_work_handler_t handler; local
1294 handler = state->ready_handler;
1312 handler = state->close_handler;
1320 handler = state->error_handler;
1327 nxt_work_queue_add(wq, handler, task, c, data);
1432 nxt_work_handler_t handler; local
1448 handler = c->write_state->ready_handler;
1484 handler = c->write_state->ready_handler;
1520 handler = c->write_state->close_handler;
1532 handler = c->write_state->error_handler;
[all …]
H A Dnxt_http_parse.c130 if (rp->handler == NULL) { in nxt_http_parse_request()
131 rp->handler = &nxt_http_parse_request_line; in nxt_http_parse_request()
135 rc = rp->handler(rp, &b->pos, b->free); in nxt_http_parse_request()
147 if (rp->handler == NULL) { in nxt_http_parse_fields()
148 rp->handler = &nxt_http_parse_field_name; in nxt_http_parse_fields()
152 rc = rp->handler(rp, &b->pos, b->free); in nxt_http_parse_fields()
590 rp->handler = &nxt_http_parse_field_name; in nxt_http_parse_field_name()
637 rp->handler = &nxt_http_parse_field_value; in nxt_http_parse_field_value()
667 rp->handler = &nxt_http_parse_field_value; in nxt_http_parse_field_value()
785 rp->handler = &nxt_http_parse_field_end; in nxt_http_parse_field_end()
[all …]
H A Dnxt_controller.c61 nxt_conf_value_t *conf, nxt_port_rpc_handler_t handler, void *data);
564 nxt_port_rpc_handler_t handler, void *data) in nxt_controller_conf_send() argument
611 handler, handler, in nxt_controller_conf_send()
667 ls->handler = nxt_controller_conn_init; in nxt_runtime_controller_socket()
H A Dnxt_h1proto.c2016 if (timer->handler != nxt_h1p_conn_ws_shutdown) { in nxt_h1p_shutdown()
2017 timer->handler = nxt_h1p_conn_ws_shutdown; in nxt_h1p_shutdown()
H A Dnxt_port.c165 port->handler = nxt_port_handler; in nxt_port_enable()
550 nxt_port_post_handler_t handler; member
559 nxt_port_post_handler_t handler; in nxt_port_post_handler() local
563 handler = pw->handler; in nxt_port_post_handler()
567 handler(task, port, data); in nxt_port_post_handler()
575 nxt_port_post_handler_t handler, void *data) in nxt_port_post() argument
580 handler(task, port, data); in nxt_port_post()
593 pw->work.handler = nxt_port_post_handler; in nxt_port_post()
599 pw->handler = handler; in nxt_port_post()
H A Dnxt_conn_close.c23 nxt_work_handler_t handler; in nxt_conn_close() local
63 handler = nxt_conn_shutdown_handler; in nxt_conn_close()
67 handler = nxt_conn_close_handler; in nxt_conn_close()
70 nxt_work_queue_add(wq, handler, c->socket.task, c, engine); in nxt_conn_close()
134 c->write_timer.handler = nxt_conn_close_timer_handler; in nxt_conn_close_handler()
H A Dnxt_port.h69 #define nxt_msg_last(handler) \ argument
70 (handler | NXT_PORT_MSG_LAST)
251 nxt_port_handler_t handler; member
359 nxt_port_post_handler_t handler, void *data);
H A Dnxt_event_engine.h139 nxt_work_handler_t handler);
H A Dnxt_conn_accept.c63 lev->timer.handler = nxt_conn_listen_timer_handler; in nxt_listen_event()
217 nxt_work_queue_add(c->read_work_queue, lev->listen->handler, in nxt_conn_accept()
221 nxt_work_queue_add(c->write_work_queue, lev->listen->handler, in nxt_conn_accept()
/unit/src/python/
H A Dnxt_python_asgi.c223 PyObject **handler; in nxt_python_asgi_ctx_data_alloc() member
276 *handlers[i].handler = obj; in nxt_python_asgi_ctx_data_alloc()
/unit/src/test/
H A Dnxt_http_parse_test.c42 nxt_int_t (*handler)(nxt_http_request_parse_t *rp, member
561 if (test->handler == &nxt_http_parse_test_fields) { in nxt_http_parse_test()
575 if (test->handler != NULL in nxt_http_parse_test()
576 && test->handler(&rp, &test->data, &test->request, thr->log) in nxt_http_parse_test()
/unit/
H A DCHANGES503 handler was used.

12345