/unit/ |
H A D | CHANGES | 210 *) Bugfix: invalid HTTP responses were generated for some unusual status
|
/unit/auto/cc/ |
H A D | test | 13 # Allow error exit status. 208 # Stop on error exit status again.
|
/unit/pkg/deb/debian/ |
H A D | unit.init | 39 status)
|
/unit/src/java/nginx/unit/websocket/ |
H A D | LocalStrings.properties | 19 asyncChannelWrapperSecure.check.notOk=TLS handshake returned an unexpected status [{0}]
|
H A D | WsWebSocketContainer.java | 358 if (httpResponse.status != 101) { in connectToServerRecursive() 359 if(isRedirectStatus(httpResponse.status)){ in connectToServerRecursive() 368 Integer.toString(httpResponse.status))); in connectToServerRecursive() 397 else if (httpResponse.status == 401) { in connectToServerRecursive() 402 Integer.valueOf(httpResponse.status))); in connectToServerRecursive() 436 Integer.toString(httpResponse.status))); in connectToServerRecursive() 793 int status = 0; in processResponse() local 820 status = parseStatus(line); in processResponse() 1105 private final int status; field in WsWebSocketContainer.HttpResponse 1109 this.status = status; in HttpResponse() [all …]
|
/unit/src/java/ |
H A D | nxt_jni_Response.c | 588 return req->response->status; in nxt_java_Response_getStatus() 650 req->response->status = 302; in nxt_java_Response_sendRedirect() 862 req->response->status = sc; in nxt_java_Response_setStatus() 934 req->response->status = 200; in nxt_java_Response_reset()
|
/unit/src/nodejs/unit-http/ |
H A D | nxt_napi.h | 48 napi_status status; in coerce_to_string() local 51 if (status != napi_ok) { in coerce_to_string() 63 napi_status status; in create_buffer() local 78 napi_status status; in create_function() local 100 napi_status status; in create_object() local 115 napi_status status; member 130 napi_status status; in create_string_latin1() local 157 napi_status status; in define_class() local 180 napi_status status; in get_array_length() local 195 napi_status status; in get_buffer_info() local [all …]
|
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() 586 napi_status status; in create_headers() local 593 status = napi_create_array_with_length(env(), r->fields_count * 2, in create_headers() 595 if (status != napi_ok) { in create_headers()
|
H A D | websocket_request.js | 448 WebSocketRequest.prototype.reject = function(status, reason, extraHeaders) { argument 456 if (typeof(status) !== 'number') { 457 status = 403; 462 response.statusCode = status;
|
H A D | websocket_router_request.js | 49 WebSocketRouterRequest.prototype.reject = function(status, reason, extraHeaders) { argument 50 this.webSocketRequest.reject(status, reason, extraHeaders);
|
/unit/src/ |
H A D | nxt_application.c | 753 int status; in nxt_proto_sigchld_handler() local 762 pid = waitpid(-1, &status, WNOHANG); in nxt_proto_sigchld_handler() 786 if (WTERMSIG(status)) { in nxt_proto_sigchld_handler() 789 pid, WTERMSIG(status), in nxt_proto_sigchld_handler() 790 WCOREDUMP(status) ? " (core dumped)" : ""); in nxt_proto_sigchld_handler() 793 pid, WTERMSIG(status)); in nxt_proto_sigchld_handler() 798 pid, WEXITSTATUS(status)); in nxt_proto_sigchld_handler()
|
H A D | nxt_conf_validation.c | 1649 int64_t status; in nxt_conf_vldt_return() local 1651 status = nxt_conf_get_number(value); in nxt_conf_vldt_return() 1653 if (status < NXT_HTTP_INVALID || status > NXT_HTTP_STATUS_MAX) { in nxt_conf_vldt_return()
|
H A D | nxt_controller.c | 31 nxt_uint_t status; member 1126 resp.status = 404; in nxt_controller_process_request() 1135 resp.status = 405; in nxt_controller_process_request() 1144 resp.status = 500; in nxt_controller_process_request() 1398 resp.status = 405; in nxt_controller_process_config() 1407 resp.status = 404; in nxt_controller_process_config() 1416 resp.status = 400; in nxt_controller_process_config() 1425 resp.status = 500; in nxt_controller_process_config() 1563 resp.status = 405; in nxt_controller_process_cert() 1572 resp.status = 400; in nxt_controller_process_cert() [all …]
|
H A D | nxt_fastcgi_source.c | 627 fs->header_in.status = n; in nxt_fastcgi_source_status() 667 if (fs->header_in.status == 0) { in nxt_fastcgi_source_header_ready() 669 fs->header_in.status = 200; in nxt_fastcgi_source_header_ready()
|
H A D | nxt_h1proto.c | 551 nxt_http_status_t status; in nxt_h1p_conn_request_header_parse() local 594 status = ret; in nxt_h1p_conn_request_header_parse() 849 nxt_http_status_t status; in nxt_h1p_request_body_read() local 1209 const nxt_str_t *status; in nxt_h1p_request_header_send() local 1228 n = r->status; in nxt_h1p_request_header_send() 1264 size = status->length; in nxt_h1p_request_header_send() 1326 p = nxt_cpymem(header->mem.free, status->start, status->length); in nxt_h1p_request_header_send() 1603 if (r->status == 0) { in nxt_h1p_conn_request_error() 2585 nxt_int_t status; in nxt_h1p_peer_header_parse() local 2587 if (peer->status < 0) { in nxt_h1p_peer_header_parse() [all …]
|
H A D | nxt_http.h | 125 nxt_http_status_t status:16; member 187 nxt_http_status_t status:16; member 316 nxt_http_status_t status);
|
H A D | nxt_http_error.c | 29 nxt_http_status_t status) in nxt_http_request_error() argument 33 nxt_debug(task, "http request error: %d", status); in nxt_http_request_error() 39 r->error = (status == NXT_HTTP_INTERNAL_SERVER_ERROR); in nxt_http_request_error() 41 r->status = status; in nxt_http_request_error() 93 r->status, r->status); in nxt_http_request_send_error_body()
|
H A D | nxt_http_proxy.c | 256 r->status = peer->status; in nxt_http_proxy_header_read() 258 nxt_debug(task, "http proxy status: %d", peer->status); in nxt_http_proxy_header_read() 388 nxt_http_request_error(&r->task, r, peer->status); in nxt_http_proxy_error()
|
H A D | nxt_http_response.c | 48 nxt_int_t status; in nxt_http_response_status() local 56 status = nxt_int_parse(field->value, 3); in nxt_http_response_status() 58 if (status >= 100 && status <= 999) { in nxt_http_response_status() 59 r->status = status; in nxt_http_response_status()
|
H A D | nxt_http_return.c | 11 nxt_http_status_t status; member 49 conf->status = nxt_conf_get_number(acf->ret); in nxt_http_return_init() 91 nxt_debug(task, "http return: %d (loc: \"%V\")", conf->status, &loc); in nxt_http_return() 94 if (conf->status >= NXT_HTTP_BAD_REQUEST in nxt_http_return() 95 && conf->status <= NXT_HTTP_SERVER_ERROR_MAX) in nxt_http_return() 97 nxt_http_request_error(task, r, conf->status); in nxt_http_return() 111 r->status = conf->status; in nxt_http_return()
|
H A D | nxt_http_route.c | 1336 nxt_http_status_t status; in nxt_http_pass_var_ready() local 1348 status = (ret == NXT_DECLINED) ? NXT_HTTP_NOT_FOUND in nxt_http_pass_var_ready() 1351 nxt_http_request_error(task, r, status); in nxt_http_pass_var_ready()
|
H A D | nxt_http_source.c | 220 hs->header_in.status = hs->u.status_parse.code; in nxt_http_source_status_filter() 237 hs->header_in.status = 200; in nxt_http_source_status_filter()
|
H A D | nxt_http_static.c | 53 nxt_http_static_ctx_t *ctx, nxt_http_status_t status); 306 nxt_http_status_t status; in nxt_http_static_send_ready() local 448 status = NXT_HTTP_NOT_FOUND; in nxt_http_static_send_ready() 457 status = NXT_HTTP_FORBIDDEN; in nxt_http_static_send_ready() 462 status = NXT_HTTP_INTERNAL_SERVER_ERROR; in nxt_http_static_send_ready() 466 if (status != NXT_HTTP_NOT_FOUND) { in nxt_http_static_send_ready() 485 nxt_http_static_next(task, r, ctx, status); in nxt_http_static_send_ready() 506 r->status = NXT_HTTP_OK; in nxt_http_static_send_ready() 600 r->status = NXT_HTTP_MOVED_PERMANENTLY; in nxt_http_static_send_ready() 670 nxt_http_static_ctx_t *ctx, nxt_http_status_t status) in nxt_http_static_next() argument [all …]
|
H A D | nxt_main_process.c | 884 int status; in nxt_main_process_sigchld_handler() local 900 pid = waitpid(-1, &status, WNOHANG); in nxt_main_process_sigchld_handler() 924 if (WTERMSIG(status)) { in nxt_main_process_sigchld_handler() 927 pid, WTERMSIG(status), in nxt_main_process_sigchld_handler() 928 WCOREDUMP(status) ? " (core dumped)" : ""); in nxt_main_process_sigchld_handler() 931 pid, WTERMSIG(status)); in nxt_main_process_sigchld_handler() 936 pid, WEXITSTATUS(status)); in nxt_main_process_sigchld_handler()
|
H A D | nxt_php_sapi.c | 1185 uint16_t status; local 1216 status = SG(sapi_headers).http_response_code; 1218 rc = nxt_unit_response_init(req, status, fields_count, resp_size);
|