Lines Matching refs:status

551     nxt_http_status_t   status;  in nxt_h1p_conn_request_header_parse()  local
585 status = NXT_HTTP_TO_HTTPS; in nxt_h1p_conn_request_header_parse()
594 status = ret; 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()
600 if (nxt_fast_path(status == NXT_OK)) { in nxt_h1p_conn_request_header_parse()
610 status = NXT_HTTP_BAD_REQUEST; in nxt_h1p_conn_request_header_parse()
614 status = NXT_HTTP_VERSION_NOT_SUPPORTED; in nxt_h1p_conn_request_header_parse()
618 status = NXT_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE; in nxt_h1p_conn_request_header_parse()
623 status = NXT_HTTP_INTERNAL_SERVER_ERROR; in nxt_h1p_conn_request_header_parse()
633 nxt_http_request_error(task, r, status); in nxt_h1p_conn_request_header_parse()
849 nxt_http_status_t status; in nxt_h1p_request_body_read() local
861 status = NXT_HTTP_LENGTH_REQUIRED; in nxt_h1p_request_body_read()
865 status = NXT_HTTP_NOT_IMPLEMENTED; in nxt_h1p_request_body_read()
900 status = NXT_HTTP_INTERNAL_SERVER_ERROR; in nxt_h1p_request_body_read()
927 status = NXT_HTTP_INTERNAL_SERVER_ERROR; in nxt_h1p_request_body_read()
949 status = NXT_HTTP_INTERNAL_SERVER_ERROR; in nxt_h1p_request_body_read()
996 nxt_http_request_error(task, r, status); in nxt_h1p_request_body_read()
1209 const nxt_str_t *status; in nxt_h1p_request_header_send() local
1228 n = r->status; in nxt_h1p_request_header_send()
1231 status = &nxt_http_informational[n - NXT_HTTP_CONTINUE]; in nxt_h1p_request_header_send()
1234 status = &nxt_http_success[n - NXT_HTTP_OK]; in nxt_h1p_request_header_send()
1239 status = &nxt_http_redirection[n - NXT_HTTP_MULTIPLE_CHOICES]; in nxt_h1p_request_header_send()
1242 status = &nxt_http_client_error[n - NXT_HTTP_BAD_REQUEST]; in nxt_h1p_request_header_send()
1245 status = &nxt_http_nginx_error[n - NXT_HTTP_TO_HTTPS]; in nxt_h1p_request_header_send()
1250 status = &nxt_http_server_error[n - NXT_HTTP_INTERNAL_SERVER_ERROR]; in nxt_h1p_request_header_send()
1258 status = &unknown_status; in nxt_h1p_request_header_send()
1261 status = &nxt_http_server_error[0]; 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()
1604 r->status = NXT_HTTP_BAD_REQUEST; in nxt_h1p_conn_request_error()
2139 peer->status = NXT_HTTP_UNSET; in nxt_h1p_peer_connect()
2198 peer->status = NXT_HTTP_INTERNAL_SERVER_ERROR; in nxt_h1p_peer_connect()
2243 peer->status = NXT_HTTP_BAD_GATEWAY; in nxt_h1p_peer_refused()
2527 peer->status = NXT_HTTP_INTERNAL_SERVER_ERROR; in nxt_h1p_peer_header_read_done()
2539 peer->status = NXT_HTTP_BAD_GATEWAY; in nxt_h1p_peer_header_read_done()
2570 peer->status = NXT_HTTP_BAD_GATEWAY; in nxt_h1p_peer_header_read_done()
2585 nxt_int_t status; in nxt_h1p_peer_header_parse() local
2587 if (peer->status < 0) { in nxt_h1p_peer_header_parse()
2602 status = nxt_int_parse(&p[9], 3); in nxt_h1p_peer_header_parse()
2604 if (nxt_slow_path(status < 0)) { in nxt_h1p_peer_header_parse()
2618 peer->status = status; in nxt_h1p_peer_header_parse()
2688 peer->status = NXT_HTTP_BAD_GATEWAY; in nxt_h1p_peer_body_process()
2731 peer->status = NXT_HTTP_BAD_GATEWAY; in nxt_h1p_peer_closed()
2748 peer->status = NXT_HTTP_BAD_GATEWAY; in nxt_h1p_peer_error()
2772 peer->status = NXT_HTTP_GATEWAY_TIMEOUT; in nxt_h1p_peer_send_timeout()
2796 peer->status = NXT_HTTP_GATEWAY_TIMEOUT; in nxt_h1p_peer_read_timeout()