Home
last modified time | relevance | path

Searched refs:http_status (Results 1 – 19 of 19) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_mruby_module_response.cc72 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 = http_status; in response_send_info()
Dshrpx_http.cc38 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()
Dshrpx_api_downstream_connection.cc98 int APIDownstreamConnection::send_reply(unsigned int http_status, in send_reply() argument
107 resp.http_status = http_status; in send_reply()
139 p = util::utos(p, http_status); in send_reply()
150 switch (http_status) { in send_reply()
Dshrpx_https_upstream.cc443 resp.http_status = 500; in htp_hdrs_completecb()
487 resp.http_status = 500; in htp_hdrs_completecb()
675 status_code = downstream->response().http_status; in on_read()
951 output->append(http2::stringify_status(balloc, resp.http_status)); in send_reply()
953 output->append(http2::get_reason_phrase(resp.http_status)); in send_reply()
1003 resp.http_status = status_code; in error_reply()
1129 buf->append(http2::stringify_status(balloc, resp.http_status)); in on_downstream_header_complete()
1131 buf->append(http2::get_reason_phrase(resp.http_status)); in on_downstream_header_complete()
1187 resp.http_status / 100 == 2) { in on_downstream_header_complete()
1395 resp.http_status = 308; in redirect_to_https()
Dshrpx_downstream.cc790 resp_.http_status / 100 == 2; in check_upgrade_fulfilled_http2()
796 if (resp_.http_status != 101) { in check_upgrade_fulfilled_http1()
812 upgraded_ = resp_.http_status / 100 == 2; in check_upgrade_fulfilled_http1()
818 if (resp_.http_status == 101) { in check_upgrade_fulfilled_http1()
879 resp_.http_status = 0; in reset_response()
885 return !upgraded_ && resp_.http_status / 100 == 1; in get_non_final_response()
933 http2::expect_response_body(req_.method, resp_.http_status); in expect_response_body()
1060 return !accesslog_written_ && resp_.http_status > 0; in accesslog_ready()
Dshrpx_health_monitor_downstream_connection.cc75 resp.http_status = 200; in end_upload_data()
Dshrpx_api_downstream_connection.h93 int send_reply(unsigned int http_status, APIStatusCode api_status,
Dshrpx_downstream.h236 http_status(0), in Response()
287 unsigned int http_status; member
Dshrpx_http_downstream_connection.cc914 resp.http_status = htp->status_code; in htp_hdrs_completecb()
933 if (resp.http_status == 204) { in htp_hdrs_completecb()
950 } else if (resp.http_status / 100 == 1 || in htp_hdrs_completecb()
951 (resp.http_status / 100 == 2 && req.method == HTTP_CONNECT)) { in htp_hdrs_completecb()
1028 return !http2::expect_response_body(req.method, resp.http_status); in htp_hdrs_completecb()
Dshrpx_http2_upstream.cc1520 auto response_status = http2::stringify_status(balloc, resp.http_status); in send_reply()
1577 resp.http_status = status_code; in error_reply()
1720 (downstream->get_non_final_response() || resp.http_status == 200) && in on_downstream_header_complete()
1735 auto response_status = http2::stringify_status(balloc, resp.http_status); in on_downstream_header_complete()
1763 if (req.connect_proto == ConnectProto::WEBSOCKET && resp.http_status == 101) { in on_downstream_header_complete()
1767 response_status = http2::stringify_status(balloc, resp.http_status); in on_downstream_header_complete()
1981 resp.http_status = 308; in redirect_to_https()
Dshrpx_config.h702 unsigned int http_status; member
Dshrpx_log.cc659 std::tie(p, last) = copy(resp.http_status, p, last); in upstream_accesslog()
Dshrpx_http2_session.cc1103 resp.http_status = status_code; in on_response_headers()
/third_party/gstreamer/gstplugins_bad/ext/neon/
Dgstneonhttpsrc.c841 gint http_status = 0; in gst_neonhttp_src_send_request_and_redirect() local
892 http_status = ne_get_status (request)->code; in gst_neonhttp_src_send_request_and_redirect()
893 if (STATUS_IS_REDIRECTION (http_status) && do_redir) { in gst_neonhttp_src_send_request_and_redirect()
901 GST_LOG_OBJECT (src, "Got HTTP Status Code %d", http_status); in gst_neonhttp_src_send_request_and_redirect()
908 (offset == 0 && http_status != 200) || in gst_neonhttp_src_send_request_and_redirect()
909 (offset > 0 && http_status != 206 && in gst_neonhttp_src_send_request_and_redirect()
910 !STATUS_IS_REDIRECTION (http_status))) { in gst_neonhttp_src_send_request_and_redirect()
916 if (offset > 0 && http_status != 206 && in gst_neonhttp_src_send_request_and_redirect()
917 !STATUS_IS_REDIRECTION (http_status)) { in gst_neonhttp_src_send_request_and_redirect()
923 if (STATUS_IS_REDIRECTION (http_status) && do_redir) { in gst_neonhttp_src_send_request_and_redirect()
[all …]
/third_party/curl/lib/
Dc-hyper.c235 uint16_t http_status, in status_line() argument
248 data->req.httpcode = http_status; in status_line()
258 (int)http_status, in status_line()
277 data->req.httpcode = http_status; in status_line()
298 uint16_t http_status; in Curl_hyper_stream() local
384 http_status = hyper_response_status(resp); in Curl_hyper_stream()
390 http_status, http_version, reasonp, reason_len); in Curl_hyper_stream()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/adaptivedemux/
Dgstadaptivedemux.c3501 gint64 end, guint * http_status) in gst_adaptive_demux_stream_download_uri() argument
3508 if (http_status) in gst_adaptive_demux_stream_download_uri()
3509 *http_status = 200; /* default to ok if no further information */ in gst_adaptive_demux_stream_download_uri()
3607 if (stream->last_ret != GST_FLOW_OK && http_status) { in gst_adaptive_demux_stream_download_uri()
3608 *http_status = stream->last_status_code; in gst_adaptive_demux_stream_download_uri()
3708 guint http_status; in gst_adaptive_demux_stream_download_fragment() local
3742 http_status = 200; in gst_adaptive_demux_stream_download_fragment()
3769 chunk_start, chunk_end, &http_status); in gst_adaptive_demux_stream_download_fragment()
3773 http_status, gst_flow_get_name (stream->last_ret)); in gst_adaptive_demux_stream_download_fragment()
3817 stream->fragment.range_start, stream->fragment.range_end, &http_status); in gst_adaptive_demux_stream_download_fragment()
[all …]
/third_party/libwebsockets/include/libwebsockets/
Dlws-http.h83 enum http_status { enum
/third_party/lwip/src/apps/http/
Dhttp_client.c207 http_parse_response_status(struct pbuf *p, u16_t *http_version, u16_t *http_status, u16_t *http_sta… in http_parse_response_status() argument
236 *http_status = (u16_t)status; in http_parse_response_status()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch23756 + int http_status,