Home
last modified time | relevance | path

Searched refs:httpconf (Results 1 – 7 of 7) 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.cc165 auto &httpconf = get_config()->http; in htp_hdr_keycb() local
167 if (req.fs.buffer_size() + len > httpconf.request_header_field_buffer) { in htp_hdr_keycb()
183 if (req.fs.num_fields() >= httpconf.max_request_header_fields) { in htp_hdr_keycb()
200 if (req.fs.num_fields() >= httpconf.max_request_header_fields) { in htp_hdr_keycb()
921 auto &httpconf = config->http; in send_reply() local
927 if (httpconf.max_requests <= num_requests_ || in send_reply()
972 for (auto &p : httpconf.add_response_headers) { in send_reply()
1136 auto &httpconf = config->http; in on_downstream_header_complete() local
1138 if (!config->http2_proxy && !httpconf.no_location_rewrite) { in on_downstream_header_complete()
1169 if (httpconf.max_requests <= num_requests_ || in on_downstream_header_complete()
[all …]
Dshrpx_http_downstream_connection.cc470 auto &httpconf = config->http; in push_request_headers() local
478 httpconf.no_host_rewrite || config->http2_proxy || connect_method; in push_request_headers()
514 auto &fwdconf = httpconf.forwarded; in push_request_headers()
515 auto &xffconf = httpconf.xff; in push_request_headers()
516 auto &xfpconf = httpconf.xfp; in push_request_headers()
517 auto &earlydataconf = httpconf.early_data; in push_request_headers()
658 if (httpconf.no_via) { in push_request_headers()
677 for (auto &p : httpconf.add_request_headers) { in push_request_headers()
1034 const HttpConfig &httpconf, size_t len) { in ensure_header_field_buffer() argument
1037 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()
1511 auto &httpconf = config->http; in send_reply() local
1518 nva.reserve(2 + headers.size() + httpconf.add_response_headers.size()); in send_reply()
1544 for (auto &p : httpconf.add_response_headers) { in send_reply()
1657 auto &httpconf = config->http; in on_downstream_header_complete() local
1659 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.cc1480 auto &httpconf = config->http; in fill_default_config() local
1481 httpconf.server_name = StringRef::from_lit("nghttpx"); in fill_default_config()
1482 httpconf.no_host_rewrite = true; in fill_default_config()
1483 httpconf.request_header_field_buffer = 64_k; in fill_default_config()
1484 httpconf.max_request_header_fields = 100; in fill_default_config()
1485 httpconf.response_header_field_buffer = 64_k; in fill_default_config()
1486 httpconf.max_response_header_fields = 500; in fill_default_config()
1487 httpconf.redirect_https_port = StringRef::from_lit("443"); in fill_default_config()
1488 httpconf.max_requests = std::numeric_limits<size_t>::max(); in fill_default_config()
1489 httpconf.xfp.add = true; in fill_default_config()
[all …]
Dshrpx_http2_session.cc903 auto &httpconf = get_config()->http; in on_header_callback2() local
911 httpconf.response_header_field_buffer || in on_header_callback2()
912 resp.fs.num_fields() >= httpconf.max_response_header_fields) { in on_header_callback2()
968 httpconf.request_header_field_buffer || in on_header_callback2()
969 promised_req.fs.num_fields() >= httpconf.max_request_header_fields) { in on_header_callback2()