Home
last modified time | relevance | path

Searched refs:httpconf (Results 1 - 8 of 8) sorted by relevance

/third_party/nghttp2/src/
H A Dshrpx_http2_downstream_connection.cc255 auto &httpconf = config->http; in push_request_headers() local
258 auto no_host_rewrite = httpconf.no_host_rewrite || config->http2_proxy || in push_request_headers()
294 httpconf.add_request_headers.size()); in push_request_headers()
331 auto &fwdconf = httpconf.forwarded; in push_request_headers()
332 auto &xffconf = httpconf.xff; in push_request_headers()
333 auto &xfpconf = httpconf.xfp; in push_request_headers()
334 auto &earlydataconf = httpconf.early_data; in push_request_headers()
428 if (httpconf.no_via) { in push_request_headers()
459 for (auto &p : httpconf.add_request_headers) { in push_request_headers()
H A Dshrpx_https_upstream.cc178 auto &httpconf = get_config()->http; in htp_hdr_keycb() local
180 if (req.fs.buffer_size() + len > httpconf.request_header_field_buffer) { in htp_hdr_keycb()
196 if (req.fs.num_fields() >= httpconf.max_request_header_fields) { in htp_hdr_keycb()
213 if (req.fs.num_fields() >= httpconf.max_request_header_fields) { in htp_hdr_keycb()
983 auto &httpconf = config->http; in send_reply() local
989 if (httpconf.max_requests <= num_requests_ || in send_reply()
1034 for (auto &p : httpconf.add_response_headers) { in send_reply()
1186 auto &httpconf = config->http; in on_downstream_header_complete() local
1188 if (!config->http2_proxy && !httpconf.no_location_rewrite) { in on_downstream_header_complete()
1219 if (httpconf in on_downstream_header_complete()
1426 auto &httpconf = config->http; redirect_to_https() local
[all...]
H A Dshrpx_http_downstream_connection.cc485 auto &httpconf = config->http; in push_request_headers() local
493 httpconf.no_host_rewrite || config->http2_proxy || connect_method; in push_request_headers()
529 auto &fwdconf = httpconf.forwarded; in push_request_headers()
530 auto &xffconf = httpconf.xff; in push_request_headers()
531 auto &xfpconf = httpconf.xfp; in push_request_headers()
532 auto &earlydataconf = httpconf.early_data; in push_request_headers()
676 if (httpconf.no_via) { in push_request_headers()
695 for (auto &p : httpconf.add_request_headers) { in push_request_headers()
1072 const HttpConfig &httpconf, size_t len) { in ensure_header_field_buffer()
1075 if (resp.fs.buffer_size() + len > httpconf in ensure_header_field_buffer()
1071 ensure_header_field_buffer(const Downstream *downstream, const HttpConfig &httpconf, size_t len) ensure_header_field_buffer() argument
1088 ensure_max_header_fields(const Downstream *downstream, const HttpConfig &httpconf) ensure_max_header_fields() argument
1108 auto &httpconf = get_config()->http; htp_hdr_keycb() local
1145 auto &httpconf = get_config()->http; htp_hdr_valcb() local
[all...]
H A Dshrpx_http2_upstream.cc185 auto &httpconf = config->http; in on_header_callback2() local
188 httpconf.request_header_field_buffer || in on_header_callback2()
189 req.fs.num_fields() >= httpconf.max_request_header_fields) { in on_header_callback2()
302 auto &httpconf = config->http; in on_start_request() local
303 if (httpconf.max_requests <= num_requests_) { in on_start_request()
1521 auto &httpconf = config->http; in send_reply() local
1528 nva.reserve(2 + headers.size() + httpconf.add_response_headers.size()); in send_reply()
1554 for (auto &p : httpconf.add_response_headers) { in send_reply()
1667 auto &httpconf = config->http; in on_downstream_header_complete() local
1669 if (!config->http2_proxy && !httpconf in on_downstream_header_complete()
1986 auto &httpconf = config->http; redirect_to_https() local
[all...]
H A Dshrpx_http.cc39 auto &httpconf = get_config()->http; in create_error_html() local
41 const auto &error_pages = httpconf.error_pages; in create_error_html()
56 StringRef::from_lit("</h1><footer>"), httpconf.server_name, in create_error_html()
H A Dshrpx_http3_upstream.cc1284 auto &httpconf = config->http; in on_downstream_header_complete() local
1286 if (!config->http2_proxy && !httpconf.no_location_rewrite) { in on_downstream_header_complete()
1331 httpconf.add_response_headers.size()); in on_downstream_header_complete()
1372 if (!config->http2_proxy && !httpconf.no_server_rewrite) { in on_downstream_header_complete()
1373 nva.push_back(http3::make_nv_ls_nocopy("server", httpconf.server_name)); in on_downstream_header_complete()
1398 if (httpconf.no_via) { in on_downstream_header_complete()
1422 for (auto &p : httpconf.add_response_headers) { in on_downstream_header_complete()
1692 auto &httpconf = config->http; in send_reply() local
1699 nva.reserve(2 + headers.size() + httpconf.add_response_headers.size()); in send_reply()
1725 for (auto &p : httpconf in send_reply()
2132 auto &httpconf = config->http; http_recv_request_header() local
[all...]
H A Dshrpx.cc2001 auto &httpconf = config->http; in fill_default_config() local
2002 httpconf.server_name = StringRef::from_lit("nghttpx"); in fill_default_config()
2003 httpconf.no_host_rewrite = true; in fill_default_config()
2004 httpconf.request_header_field_buffer = 64_k; in fill_default_config()
2005 httpconf.max_request_header_fields = 100; in fill_default_config()
2006 httpconf.response_header_field_buffer = 64_k; in fill_default_config()
2007 httpconf.max_response_header_fields = 500; in fill_default_config()
2008 httpconf.redirect_https_port = StringRef::from_lit("443"); in fill_default_config()
2009 httpconf.max_requests = std::numeric_limits<size_t>::max(); in fill_default_config()
2010 httpconf in fill_default_config()
[all...]
H A Dshrpx_http2_session.cc916 auto &httpconf = get_config()->http; in on_header_callback2() local
924 httpconf.response_header_field_buffer || in on_header_callback2()
925 resp.fs.num_fields() >= httpconf.max_response_header_fields) { in on_header_callback2()
981 httpconf.request_header_field_buffer || in on_header_callback2()
982 promised_req.fs.num_fields() >= httpconf.max_request_header_fields) { in on_header_callback2()

Completed in 16 milliseconds