/third_party/nghttp2/src/ |
D | shrpx_worker.cc | 305 dst_addr.hostport = in replace_downstream_config() 306 make_string_ref(shared_addr->balloc, src_addr.hostport); in replace_downstream_config() 718 if (addr.hostport == a.hostport) { in setup_quic_server_socket() 721 << addr.hostport; in setup_quic_server_socket() 1055 faddr.hostport = util::make_http_hostport(mod_config()->balloc, in create_quic_server_socket() 1058 LOG(NOTICE) << "Listening on " << faddr.hostport << ", quic"; in create_quic_server_socket() 1094 auto hostport = util::make_http_hostport(std::begin(hostport_buf), in find_quic_upstream_addr() local 1099 if (faddr.hostport == hostport) { in find_quic_upstream_addr() 1110 if (util::streq(faddr.hostport, StringRef::from_lit("0.0.0.0"))) { in find_quic_upstream_addr() 1116 if (util::streq(faddr.hostport, StringRef::from_lit("[::]"))) { in find_quic_upstream_addr() [all …]
|
D | util.cc | 1563 StringRef extract_host(const StringRef &hostport) { in extract_host() argument 1564 if (hostport[0] == '[') { in extract_host() 1566 auto p = std::find(std::begin(hostport), std::end(hostport), ']'); in extract_host() 1567 if (p == std::end(hostport)) { in extract_host() 1570 if (p + 1 < std::end(hostport) && *(p + 1) != ':') { in extract_host() 1573 return StringRef{std::begin(hostport), p + 1}; in extract_host() 1576 auto p = std::find(std::begin(hostport), std::end(hostport), ':'); in extract_host() 1577 if (p == std::begin(hostport)) { in extract_host() 1580 return StringRef{std::begin(hostport), p}; in extract_host() 1583 std::pair<StringRef, StringRef> split_hostport(const StringRef &hostport) { in split_hostport() argument [all …]
|
D | shrpx_worker.h | 91 StringRef hostport; member 461 const RouterConfig &routerconfig, const StringRef &hostport,
|
D | shrpx_config.cc | 119 const StringRef &hostport, const StringRef &opt) { in split_host_port() argument 121 auto sep = std::find(std::begin(hostport), std::end(hostport), ','); in split_host_port() 122 if (sep == std::end(hostport)) { in split_host_port() 123 LOG(ERROR) << opt << ": Invalid host, port: " << hostport; in split_host_port() 126 size_t len = sep - std::begin(hostport); in split_host_port() 128 LOG(ERROR) << opt << ": Hostname too long: " << hostport; in split_host_port() 131 std::copy(std::begin(hostport), sep, host); in split_host_port() 134 auto portstr = StringRef{sep + 1, std::end(hostport)}; in split_host_port() 4533 addr.hostport = StringRef::from_lit("localhost"); in configure_downstream_group() 4557 addr.hostport = in configure_downstream_group() [all …]
|
D | shrpx.cc | 778 faddr.hostport = StringRef::from_lit("localhost"); in create_unix_domain_server_socket() 847 faddr.hostport = StringRef::from_lit("localhost"); in create_unix_domain_server_socket() 1009 faddr.hostport = util::make_http_hostport(mod_config()->balloc, in create_tcp_server_socket() 1012 LOG(NOTICE) << "Listening on " << faddr.hostport in create_tcp_server_socket() 3702 auto hostport = util::make_hostport(std::begin(hostport_buf), in process_options() local 3706 LOG(FATAL) << "Resolving backend HTTP proxy address failed: " << hostport; in process_options() 3709 LOG(NOTICE) << "Backend HTTP proxy address: " << hostport << " -> " in process_options() 3716 auto hostport = util::make_hostport(std::begin(hostport_buf), in process_options() local 3723 << hostport; in process_options() 3726 LOG(NOTICE) << "Memcached address for TLS session cache: " << hostport in process_options() [all …]
|
D | nghttp.h | 268 std::string hostport; member
|
D | util.h | 920 StringRef extract_host(const StringRef &hostport); 927 std::pair<StringRef, StringRef> split_hostport(const StringRef &hostport);
|
D | shrpx_config.h | 504 StringRef hostport; member 533 StringRef hostport; member
|
D | shrpx_http2_downstream_connection.cc | 263 const auto &downstream_hostport = http2session_->get_addr()->hostport; in push_request_headers()
|
D | nghttp.cc | 459 {":authority", client->hostport}, in submit_request() 1000 auto headers = Headers{{"host", hostport}, in on_upgrade_connect() 1464 hostport = ss.str(); in update_hostport()
|
D | shrpx_http2_session.cc | 696 req.append(addr_->hostport.c_str(), addr_->hostport.size()); in downstream_connect_proxy()
|
D | shrpx_client_handler.cc | 1684 return faddr_->hostport; in get_forwarded_by()
|
D | shrpx_http_downstream_connection.cc | 477 const auto &downstream_hostport = addr_->hostport; in push_request_headers()
|
/third_party/openssl/demos/bio/ |
D | sconnect.c | 30 const char *hostport = HOSTPORT; in main() local 42 hostport = argv[1]; in main() 68 BIO_set_conn_hostname(out, hostport); in main()
|
/third_party/nghttp2/examples/ |
D | client.c | 97 char *hostport; member 108 const char *hostport; member 486 MAKE_NV_CS(":authority", req->hostport), in submit_request() 520 req->hostport = strcopy(uri->hostport, uri->hostportlen); in request_init() 527 free(req->hostport); in request_free() 637 res->host = res->hostport = &uri[offset]; in parse_uri()
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
D | test_new_connection.c | 126 char *hostport; member 140 const char *hostport; member 606 nv[8] = ":host"; nv[9] = req->hostport; in submit_request() 637 req->hostport = strcopy(uri->hostport, uri->hostportlen); in request_init() 646 free(req->hostport); in request_free() 743 res->host = res->hostport = &uri[offset]; in parse_uri()
|
D | test_notls.c | 105 char *hostport; member 119 const char *hostport; member 558 nv[8] = ":host"; nv[9] = req->hostport; in submit_request() 589 req->hostport = strcopy(uri->hostport, uri->hostportlen); in request_init() 598 free(req->hostport); in request_free() 678 res->host = res->hostport = &uri[offset]; in parse_uri()
|
D | test_request_response.c | 108 char *hostport; member 122 const char *hostport; member 594 nv[8] = ":host"; nv[9] = req->hostport; in submit_request() 625 req->hostport = strcopy(uri->hostport, uri->hostportlen); in request_init() 634 free(req->hostport); in request_free() 731 res->host = res->hostport = &uri[offset]; in parse_uri()
|
/third_party/python/Lib/urllib/ |
D | request.py | 784 userinfo, hostport = _splituser(authority) 789 return scheme, user, password, hostport 808 proxy_type, user, password, hostport = _parse_proxy(proxy) 820 hostport = unquote(hostport) 821 req.set_proxy(hostport, proxy_type)
|
/third_party/skia/third_party/externals/microhttpd/src/datadir/ |
D | spdy-draft.txt | 1889 ":host" - the hostport (See RFC1738 [RFC1738]) portion of the
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 125384 virtual nsresult SetHostAndPort(const nsACString & hostport) = 0;
|