/third_party/nghttp2/src/ |
H A D | shrpx_mruby_module_response.cc | 72 return mrb_fixnum_value(resp.http_status); in response_get_status() 90 resp.http_status = status; in response_set_status() 223 if (resp.http_status == 0) { in response_return() 224 resp.http_status = 200; in response_return() 234 if (resp.http_status == 204 || in response_return() 235 (resp.http_status == 200 && req.method == HTTP_CONNECT)) { in response_return() 290 mrb_int http_status; in response_send_info() local 292 mrb_get_args(mrb, "iH", &http_status, &hash); in response_send_info() 294 if (http_status / 100 != 1) { in response_send_info() 351 resp.http_status in response_send_info() [all...] |
H A D | shrpx_http.cc | 38 StringRef create_error_html(BlockAllocator &balloc, unsigned int http_status) { in create_error_html() argument 43 if (page.http_status == 0 || page.http_status == http_status) { in create_error_html() 48 auto status_string = http2::stringify_status(balloc, http_status); in create_error_html() 49 auto reason_phrase = http2::get_reason_phrase(http_status); in create_error_html()
|
H A D | shrpx_https_upstream.cc | 472 resp.http_status = 400; in htp_hdrs_completecb() 481 resp.http_status = 500; in htp_hdrs_completecb() 527 resp.http_status = 500; in htp_hdrs_completecb() 730 status_code = downstream->response().http_status; in on_read() 1013 output->append(http2::stringify_status(balloc, resp.http_status)); in send_reply() 1015 output->append(http2::get_reason_phrase(resp.http_status)); in send_reply() 1065 resp.http_status = status_code; in error_reply() 1179 buf->append(http2::stringify_status(balloc, resp.http_status)); in on_downstream_header_complete() 1181 buf->append(http2::get_reason_phrase(resp.http_status)); in on_downstream_header_complete() 1237 resp.http_status / 10 in on_downstream_header_complete() [all...] |
H A D | shrpx_api_downstream_connection.cc | 98 int APIDownstreamConnection::send_reply(unsigned int http_status, in send_reply() argument 107 resp.http_status = http_status; in send_reply() 128 // 3 is the number of digits in http_status, assuming it is 3 digits in send_reply() 139 p = util::utos(p, http_status); in send_reply() 150 switch (http_status) { in send_reply()
|
H A D | shrpx_downstream.cc | 800 resp_.http_status / 100 == 2; in check_upgrade_fulfilled_http2() 806 if (resp_.http_status != 101) { in check_upgrade_fulfilled_http1() 822 upgraded_ = resp_.http_status / 100 == 2; in check_upgrade_fulfilled_http1() 828 if (resp_.http_status == 101) { in check_upgrade_fulfilled_http1() 883 resp_.http_status = 0; in reset_response() 889 return !upgraded_ && resp_.http_status / 100 == 1; in get_non_final_response() 938 http2::expect_response_body(req_.method, resp_.http_status); in expect_response_body() 1066 return !accesslog_written_ && resp_.http_status > 0; in accesslog_ready()
|
H A D | shrpx_api_downstream_connection.h | 93 int send_reply(unsigned int http_status, APIStatusCode api_status,
|
H A D | shrpx_health_monitor_downstream_connection.cc | 75 resp.http_status = 200; in end_upload_data()
|
H A D | shrpx_downstream.h | 241 http_status(0), in Response() 292 unsigned int http_status; member
|
H A D | shrpx_http_downstream_connection.cc | 942 resp.http_status = htp->status_code; in htp_hdrs_completecb() 961 if (resp.http_status == 204) { in htp_hdrs_completecb() 978 } else if (resp.http_status / 100 == 1 || in htp_hdrs_completecb() 979 (resp.http_status / 100 == 2 && req.method == HTTP_CONNECT)) { in htp_hdrs_completecb() 1066 return !http2::expect_response_body(req.method, resp.http_status); in htp_hdrs_completecb()
|
H A D | shrpx_http2_upstream.cc | 1530 auto response_status = http2::stringify_status(balloc, resp.http_status); in send_reply() 1587 resp.http_status = status_code; in error_reply() 1730 (downstream->get_non_final_response() || resp.http_status == 200) && in on_downstream_header_complete() 1745 auto response_status = http2::stringify_status(balloc, resp.http_status); in on_downstream_header_complete() 1773 if (req.connect_proto == ConnectProto::WEBSOCKET && resp.http_status == 101) { in on_downstream_header_complete() 1777 response_status = http2::stringify_status(balloc, resp.http_status); in on_downstream_header_complete() 1999 resp.http_status = 308; in redirect_to_https()
|
H A D | shrpx_http3_upstream.cc | 1334 auto response_status = http2::stringify_status(balloc, resp.http_status); in on_downstream_header_complete() 1361 if (req.connect_proto == ConnectProto::WEBSOCKET && resp.http_status == 101) { in on_downstream_header_complete() 1365 response_status = http2::stringify_status(balloc, resp.http_status); in on_downstream_header_complete() 1701 auto response_status = http2::stringify_status(balloc, resp.http_status); in send_reply() 2700 resp.http_status = status_code; in error_reply()
|
H A D | shrpx_log.cc | 656 std::tie(p, last) = copy(resp.http_status, p, last); in upstream_accesslog()
|
H A D | shrpx_config.h | 831 unsigned int http_status; member
|
H A D | shrpx_http2_session.cc | 1116 resp.http_status = status_code; in on_response_headers()
|
/third_party/curl/lib/ |
H A D | c-hyper.c | 262 uint16_t http_status, in status_line() 275 data->req.httpcode = http_status; in status_line() 279 data->info.httpproxycode = http_status; in status_line() 296 (int)http_status, in status_line() 342 uint16_t http_status; in Curl_hyper_stream() local 460 http_status = hyper_response_status(resp); in Curl_hyper_stream() 465 if(http_status == 417 && data->state.expect100header) { in Curl_hyper_stream() 473 http_status, http_version, reasonp, reason_len); in Curl_hyper_stream() 496 (100 <= http_status && 199 >= http_status) in Curl_hyper_stream() 260 status_line(struct Curl_easy *data, struct connectdata *conn, uint16_t http_status, int http_version, const uint8_t *reason, size_t rlen) status_line() argument 824 uint16_t http_status; http1xx_cb() local [all...] |
H A D | cf-h2-proxy.c | 770 int http_status; in proxy_h2_on_header() local 775 result = Curl_http_decode_status(&http_status, in proxy_h2_on_header() 779 result = Curl_http_resp_make(&resp, http_status, NULL); in proxy_h2_on_header()
|
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-http.h | 83 enum http_status { enum 586 * \param code: an HTTP code like 200, 404 etc (see enum http_status) 681 * \param code: an HTTP code like 200, 404 etc (see enum http_status)
|
/third_party/lwip/src/apps/http/ |
H A D | http_client.c | 207 http_parse_response_status(struct pbuf *p, u16_t *http_version, u16_t *http_status, u16_t *http_status_str_offset) in http_parse_response_status() argument 236 *http_status = (u16_t)status; in http_parse_response_status()
|