Searched refs:httpconf (Results 1 – 8 of 8) sorted by relevance
255 auto &httpconf = config->http; in push_request_headers() local258 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()
178 auto &httpconf = get_config()->http; in htp_hdr_keycb() local180 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() local965 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() local1164 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 …]
485 auto &httpconf = config->http; in push_request_headers() local493 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() argument1060 if (resp.fs.buffer_size() + len > httpconf.response_header_field_buffer) { in ensure_header_field_buffer()[all …]
185 auto &httpconf = config->http; in on_header_callback2() local188 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() local303 if (httpconf.max_requests <= num_requests_) { in on_start_request()1521 auto &httpconf = config->http; in send_reply() local1528 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() local1669 if (!config->http2_proxy && !httpconf.no_location_rewrite) { in on_downstream_header_complete()[all …]
39 auto &httpconf = get_config()->http; in create_error_html() local41 const auto &error_pages = httpconf.error_pages; in create_error_html()56 StringRef::from_lit("</h1><footer>"), httpconf.server_name, in create_error_html()
1237 auto &httpconf = config->http; in on_downstream_header_complete() local1239 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() local1651 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 …]
1876 auto &httpconf = config->http; in fill_default_config() local1877 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 …]
916 auto &httpconf = get_config()->http; in on_header_callback2() local924 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()