/unit/src/wasm/ |
H A D | nxt_wasm.c | 56 nxt_unit_response_init(ctx->req, ctx->status, rh->nfields, fields_len); in nxt_wasm_do_send_headers() 80 nxt_unit_response_init(req, ctx->status, 0, 0); in nxt_wasm_do_send_response() 158 nxt_wasm_ctx.status = NXT_WASM_HTTP_OK; in nxt_wasm_request_handler()
|
H A D | nxt_wasm.h | 124 uint16_t status; member
|
H A D | nxt_rt_wasmtime.c | 112 ctx->status = args[0].of.i32; in nxt_wasm_set_resp_status()
|
/unit/tools/ |
H A D | README.md | 89 unitc http://192.168.0.1:8080/status 90 UNIT_CTRL=http://192.168.0.1:8080 unitc /status 103 UNIT_CTRL=docker://4d0431488982 unitc /status/requests/total
|
/unit/src/ |
H A D | nxt_process.c | 373 int8_t status; in nxt_process_check_pid_status() local 380 ret = read(gc_pipe[0], &status, sizeof(int8_t)); in nxt_process_check_pid_status() 384 status = -1; in nxt_process_check_pid_status() 389 return status; in nxt_process_check_pid_status() 396 int8_t status; in nxt_process_recv_pid() local 403 status = 0; in nxt_process_recv_pid() 411 status = -1; in nxt_process_recv_pid() 415 write(gc_pipe[1], &status, sizeof(int8_t)); in nxt_process_recv_pid()
|
H A D | nxt_application.c | 766 int status; in nxt_proto_sigchld_handler() local 779 pid = waitpid(-1, &status, WNOHANG); in nxt_proto_sigchld_handler() 805 if (WTERMSIG(status)) { in nxt_proto_sigchld_handler() 810 pid, WTERMSIG(status), in nxt_proto_sigchld_handler() 811 NXT_WCOREDUMP(status) ? " (core dumped)" : ""); in nxt_proto_sigchld_handler() 815 pid, WTERMSIG(status), in nxt_proto_sigchld_handler() 816 NXT_WCOREDUMP(status) ? " (core dumped)" : ""); in nxt_proto_sigchld_handler() 824 pid, WEXITSTATUS(status)); in nxt_proto_sigchld_handler() 828 pid, WEXITSTATUS(status)); in nxt_proto_sigchld_handler()
|
H A D | nxt_runtime.c | 23 static void nxt_runtime_initial_start(nxt_task_t *task, nxt_uint_t status); 375 nxt_runtime_initial_start(nxt_task_t *task, nxt_uint_t status) in nxt_runtime_initial_start() argument 431 nxt_runtime_quit(nxt_task_t *task, nxt_uint_t status) in nxt_runtime_quit() argument 438 rt->status |= status; in nxt_runtime_quit() 545 int status, engine_count; in nxt_runtime_exit() local 607 status = rt->status; in nxt_runtime_exit() 627 nxt_debug(task, "exit: %d", status); in nxt_runtime_exit() 629 exit(status); in nxt_runtime_exit()
|
H A D | nxt_http.h | 125 nxt_http_status_t status:16; member 192 nxt_http_status_t status:16; member 327 nxt_http_status_t status);
|
H A D | nxt_port.h | 60 nxt_port_handler_t status; member 116 _NXT_PORT_MSG_STATUS = nxt_port_handler_idx(status),
|
H A D | nxt_main_process.c | 964 int status; in nxt_main_process_sigchld_handler() local 980 pid = waitpid(-1, &status, WNOHANG); in nxt_main_process_sigchld_handler() 1004 if (WTERMSIG(status)) { in nxt_main_process_sigchld_handler() 1007 pid, WTERMSIG(status), in nxt_main_process_sigchld_handler() 1008 WCOREDUMP(status) ? " (core dumped)" : ""); in nxt_main_process_sigchld_handler() 1011 pid, WTERMSIG(status)); in nxt_main_process_sigchld_handler() 1016 pid, WEXITSTATUS(status)); in nxt_main_process_sigchld_handler()
|
H A D | nxt_unit.h | 261 uint16_t status, uint32_t max_fields_count, uint32_t max_fields_size);
|
H A D | nxt_http_variables.c | 466 (void) nxt_sprintf(str->start, str->start + 3, "%03d", r->status); in nxt_http_var_status() 532 if (r->websocket_handshake && r->status == NXT_HTTP_SWITCHING_PROTOCOLS) { in nxt_http_var_response_connection()
|
H A D | nxt_php_sapi.c | 1315 uint16_t status; local 1346 status = SG(sapi_headers).http_response_code; 1348 rc = nxt_unit_response_init(req, status, fields_count, resp_size);
|
/unit/test/ |
H A D | test_routing.py | 44 def host(host_header, status): argument 49 == status 53 def cookie(cookie_header, status): argument 62 == status 291 status = route({"match": {"uri": "~(?R)?z"}, "action": {"return": 200}}) 292 if 'error' not in status: 295 status = route({"match": {"uri": "~((?1)?z)"}, "action": {"return": 200}}) 296 if 'error' not in status:
|
H A D | test_status.py | 5 from unit.status import Status
|
H A D | test_settings.py | 455 def wait_for_request_log(status, uri, route): argument 456 assert client.get(url=uri)['status'] == status
|
/unit/src/nodejs/unit-http/ |
H A D | unit.cpp | 28 static void read_callback(uv_poll_t *handle, int status, int events); 115 port_data_t::read_callback(uv_poll_t *handle, int status, int events) in read_callback() argument 477 napi_status status; in add_port() local 488 status = napi_get_uv_event_loop(obj->env(), &loop); in add_port() 489 if (status != napi_ok) { in add_port() 587 napi_status status; in create_headers() local 594 status = napi_create_array_with_length(env(), r->fields_count * 2, in create_headers() 596 if (status != napi_ok) { in create_headers()
|
/unit/auto/cc/ |
H A D | test | 13 # Allow error exit status. 208 # Stop on error exit status again.
|
/unit/test/unit/ |
H A D | http.py | 217 status = re.search( 234 return {'status': int(status), 'headers': headers, 'body': body}
|
/unit/src/wasm-wasi-component/src/ |
H A D | lib.rs | 391 response.status().as_u16(), in send_response() 529 fn init_response(&mut self, status: u16, headers: u32, headers_size: u32) { in init_response() 533 status, in init_response()
|
/unit/src/java/ |
H A D | nxt_jni_Response.c | 589 return req->response->status; in nxt_java_Response_getStatus() 651 req->response->status = 302; in nxt_java_Response_sendRedirect() 863 req->response->status = sc; in nxt_java_Response_setStatus() 935 req->response->status = 200; in nxt_java_Response_reset()
|
/unit/src/test/ |
H A D | nxt_cq_test.c | 128 int status; member 333 waitpid(wi->pid, &wi->status, 0); in worker_wait()
|
/unit/src/python/ |
H A D | nxt_python_wsgi.c | 937 int rc, status; in nxt_py_start_resp() local 1023 status = nxt_int_parse((u_char *) status_str, status_len); in nxt_py_start_resp() 1024 if (nxt_slow_path(status < 0)) { in nxt_py_start_resp() 1036 rc = nxt_unit_response_init(pctx->req, status, fields_count, fields_size); in nxt_py_start_resp()
|
/unit/ |
H A D | CODE_OF_CONDUCT.md | 9 level of experience, education, socio-economic status, nationality, personal
|
/unit/.github/workflows/ |
H A D | ci.yml | 101 sudo systemctl status mono-xsp4.service || true
|