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.cc457 resp.http_status = 400; in htp_hdrs_completecb()
466 resp.http_status = 500; in htp_hdrs_completecb()
512 resp.http_status = 500; in htp_hdrs_completecb()
706 status_code = downstream->response().http_status; in on_read()
989 output->append(http2::stringify_status(balloc, resp.http_status)); in send_reply()
991 output->append(http2::get_reason_phrase(resp.http_status)); in send_reply()
1041 resp.http_status = status_code; in error_reply()
1155 buf->append(http2::stringify_status(balloc, resp.http_status)); in on_downstream_header_complete()
1157 buf->append(http2::get_reason_phrase(resp.http_status)); in on_downstream_header_complete()
1213 resp.http_status / 100 == 2) { in on_downstream_header_complete()
[all …]
Dshrpx_downstream.cc800 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()
889 resp_.http_status = 0; in reset_response()
895 return !upgraded_ && resp_.http_status / 100 == 1; in get_non_final_response()
944 http2::expect_response_body(req_.method, resp_.http_status); in expect_response_body()
1072 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.h241 http_status(0), in Response()
292 unsigned int http_status; member
Dshrpx_http_downstream_connection.cc937 resp.http_status = htp->status_code; in htp_hdrs_completecb()
956 if (resp.http_status == 204) { in htp_hdrs_completecb()
973 } else if (resp.http_status / 100 == 1 || in htp_hdrs_completecb()
974 (resp.http_status / 100 == 2 && req.method == HTTP_CONNECT)) { in htp_hdrs_completecb()
1051 return !http2::expect_response_body(req.method, resp.http_status); in htp_hdrs_completecb()
Dshrpx_http2_upstream.cc1530 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()
Dshrpx_http3_upstream.cc1287 auto response_status = http2::stringify_status(balloc, resp.http_status); in on_downstream_header_complete()
1314 if (req.connect_proto == ConnectProto::WEBSOCKET && resp.http_status == 101) { in on_downstream_header_complete()
1318 response_status = http2::stringify_status(balloc, resp.http_status); in on_downstream_header_complete()
1653 auto response_status = http2::stringify_status(balloc, resp.http_status); in send_reply()
2658 resp.http_status = status_code; in error_reply()
Dshrpx_log.cc656 std::tie(p, last) = copy(resp.http_status, p, last); in upstream_accesslog()
Dshrpx_config.h831 unsigned int http_status; member
Dshrpx_http2_session.cc1116 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/gstreamer/gstplugins_bad/gst-libs/gst/adaptivedemux/
Dgstadaptivedemux.c3640 gint64 end, guint * http_status) in gst_adaptive_demux_stream_download_uri() argument
3647 if (http_status) in gst_adaptive_demux_stream_download_uri()
3648 *http_status = 200; /* default to ok if no further information */ in gst_adaptive_demux_stream_download_uri()
3746 if (stream->last_ret != GST_FLOW_OK && http_status) { in gst_adaptive_demux_stream_download_uri()
3747 *http_status = stream->last_status_code; in gst_adaptive_demux_stream_download_uri()
3847 guint http_status; in gst_adaptive_demux_stream_download_fragment() local
3881 http_status = 200; in gst_adaptive_demux_stream_download_fragment()
3908 chunk_start, chunk_end, &http_status); in gst_adaptive_demux_stream_download_fragment()
3912 http_status, gst_flow_get_name (stream->last_ret)); in gst_adaptive_demux_stream_download_fragment()
3956 stream->fragment.range_start, stream->fragment.range_end, &http_status); in gst_adaptive_demux_stream_download_fragment()
[all …]
/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/libwebsockets/include/libwebsockets/
Dlws-http.h83 enum http_status { enum
/third_party/chromium/patch/
D0003-ohos-1115.patch24275 + int http_status,