Home
last modified time | relevance | path

Searched refs:fwdconf (Results 1 – 5 of 5) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_client_handler.cc435 auto &fwdconf = config->http.forwarded; in ClientHandler() local
437 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() local
1364 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() local
1524 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 …]
Dshrpx_http2_downstream_connection.cc331 auto &fwdconf = httpconf.forwarded; in push_request_headers() local
337 (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()
Dshrpx_http_downstream_connection.cc514 auto &fwdconf = httpconf.forwarded; in push_request_headers() local
520 (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()
Dshrpx_config.cc3429 auto &fwdconf = config->http.forwarded; in parse_config() local
3430 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() local
3475 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 …]
Dshrpx.cc3125 auto &fwdconf = config->http.forwarded; in process_options() local
3127 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()