Searched refs:fwdconf (Results 1 – 5 of 5) sorted by relevance
435 auto &fwdconf = config->http.forwarded; in ClientHandler() local437 if (fwdconf.params & FORWARDED_FOR) { in ClientHandler()438 if (fwdconf.for_node_type == ForwardedNode::OBFUSCATED) { in ClientHandler()1362 auto &fwdconf = config->http.forwarded; in proxy_protocol_read() local1364 if ((fwdconf.params & FORWARDED_FOR) && in proxy_protocol_read()1365 fwdconf.for_node_type == ForwardedNode::IP) { in proxy_protocol_read()1522 auto &fwdconf = config->http.forwarded; in proxy_protocol_v2_read() local1524 if ((fwdconf.params & FORWARDED_FOR) && in proxy_protocol_v2_read()1525 fwdconf.for_node_type == ForwardedNode::IP) { in proxy_protocol_v2_read()1534 auto &fwdconf = get_config()->http.forwarded; in get_forwarded_by() local[all …]
331 auto &fwdconf = httpconf.forwarded; in push_request_headers() local337 (fwdconf.strip_incoming ? http2::HDOP_STRIP_FORWARDED : 0) | in push_request_headers()361 fwdconf.strip_incoming ? nullptr : req.fs.header(http2::HD_FORWARDED); in push_request_headers()363 if (fwdconf.params) { in push_request_headers()364 auto params = fwdconf.params; in push_request_headers()
514 auto &fwdconf = httpconf.forwarded; in push_request_headers() local520 (fwdconf.strip_incoming ? http2::HDOP_STRIP_FORWARDED : 0) | in push_request_headers()590 fwdconf.strip_incoming ? nullptr : req.fs.header(http2::HD_FORWARDED); in push_request_headers()592 if (fwdconf.params) { in push_request_headers()593 auto params = fwdconf.params; in push_request_headers()
3429 auto &fwdconf = config->http.forwarded; in parse_config() local3430 fwdconf.params = FORWARDED_NONE; in parse_config()3433 fwdconf.params |= FORWARDED_BY; in parse_config()3437 fwdconf.params |= FORWARDED_FOR; in parse_config()3441 fwdconf.params |= FORWARDED_HOST; in parse_config()3445 fwdconf.params |= FORWARDED_PROTO; in parse_config()3471 auto &fwdconf = config->http.forwarded; in parse_config() local3475 fwdconf.by_node_type = type; in parse_config()3477 fwdconf.by_obfuscated = make_string_ref(config->balloc, optarg); in parse_config()3479 fwdconf.by_obfuscated = StringRef::from_lit(""); in parse_config()[all …]
3125 auto &fwdconf = config->http.forwarded; in process_options() local3127 if (fwdconf.by_node_type == ForwardedNode::OBFUSCATED && in process_options()3128 fwdconf.by_obfuscated.empty()) { in process_options()3136 fwdconf.by_obfuscated = StringRef{iov.base, p}; in process_options()