Home
last modified time | relevance | path

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

/third_party/nghttp2/src/
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()
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()
959 auto &httpconf = config->http; in send_reply() local
965 if (httpconf.max_requests <= num_requests_ || in send_reply()
1010 for (auto &p : httpconf.add_response_headers) { in send_reply()
1162 auto &httpconf = config->http; in on_downstream_header_complete() local
1164 if (!config->http2_proxy && !httpconf.no_location_rewrite) { in on_downstream_header_complete()
1195 if (httpconf.max_requests <= num_requests_ || in on_downstream_header_complete()
[all …]
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()
1057 const HttpConfig &httpconf, size_t len) { in ensure_header_field_buffer() argument
1060 if (resp.fs.buffer_size() + len > httpconf.response_header_field_buffer) { in ensure_header_field_buffer()
[all …]
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.no_location_rewrite) { in on_downstream_header_complete()
[all …]
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()
Dshrpx_http3_upstream.cc1237 auto &httpconf = config->http; in on_downstream_header_complete() local
1239 if (!config->http2_proxy && !httpconf.no_location_rewrite) { in on_downstream_header_complete()
1284 httpconf.add_response_headers.size()); in on_downstream_header_complete()
1325 if (!config->http2_proxy && !httpconf.no_server_rewrite) { in on_downstream_header_complete()
1326 nva.push_back(http3::make_nv_ls_nocopy("server", httpconf.server_name)); in on_downstream_header_complete()
1351 if (httpconf.no_via) { in on_downstream_header_complete()
1375 for (auto &p : httpconf.add_response_headers) { in on_downstream_header_complete()
1644 auto &httpconf = config->http; in send_reply() local
1651 nva.reserve(2 + headers.size() + httpconf.add_response_headers.size()); in send_reply()
1677 for (auto &p : httpconf.add_response_headers) { in send_reply()
[all …]
Dshrpx.cc1876 auto &httpconf = config->http; in fill_default_config() local
1877 httpconf.server_name = StringRef::from_lit("nghttpx"); in fill_default_config()
1878 httpconf.no_host_rewrite = true; in fill_default_config()
1879 httpconf.request_header_field_buffer = 64_k; in fill_default_config()
1880 httpconf.max_request_header_fields = 100; in fill_default_config()
1881 httpconf.response_header_field_buffer = 64_k; in fill_default_config()
1882 httpconf.max_response_header_fields = 500; in fill_default_config()
1883 httpconf.redirect_https_port = StringRef::from_lit("443"); in fill_default_config()
1884 httpconf.max_requests = std::numeric_limits<size_t>::max(); in fill_default_config()
1885 httpconf.xfp.add = true; in fill_default_config()
[all …]
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()