/third_party/nghttp2/src/ |
H A D | shrpx_worker.cc | 306 dst_addr.hostport = in replace_downstream_config() 307 make_string_ref(shared_addr->balloc, src_addr.hostport); in replace_downstream_config() 719 if (addr.hostport == a.hostport) { in setup_quic_server_socket() 722 << addr.hostport; in setup_quic_server_socket() 1072 faddr.hostport = util::make_http_hostport(mod_config()->balloc, in create_quic_server_socket() 1075 LOG(NOTICE) << "Listening on " << faddr.hostport << ", quic"; in create_quic_server_socket() 1111 auto hostport = util::make_http_hostport(std::begin(hostport_buf), in find_quic_upstream_addr() local 1116 if (faddr.hostport == hostport) { in find_quic_upstream_addr() 1246 match_downstream_addr_group( const RouterConfig &routerconf, const StringRef &hostport, const StringRef &raw_path, const std::vector<std::shared_ptr<DownstreamAddrGroup>> &groups, size_t catch_all, BlockAllocator &balloc) match_downstream_addr_group() argument [all...] |
H A D | util.cc | 1605 StringRef extract_host(const StringRef &hostport) { in extract_host() argument 1606 if (hostport[0] == '[') { in extract_host() 1608 auto p = std::find(std::begin(hostport), std::end(hostport), ']'); in extract_host() 1609 if (p == std::end(hostport)) { in extract_host() 1612 if (p + 1 < std::end(hostport) && *(p + 1) != ':') { in extract_host() 1615 return StringRef{std::begin(hostport), p + 1}; in extract_host() 1618 auto p = std::find(std::begin(hostport), std::end(hostport), ':'); in extract_host() 1619 if (p == std::begin(hostport)) { in extract_host() 1625 split_hostport(const StringRef &hostport) split_hostport() argument [all...] |
H A D | shrpx_config.cc | 119 const StringRef &hostport, const StringRef &opt) { in split_host_port() 120 // host and port in |hostport| is separated by single ','. in split_host_port() 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() local 126 size_t len = sep - std::begin(hostport); in split_host_port() 128 LOG(ERROR) << opt << ": Hostname too long: " << hostport; in split_host_port() local 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() 118 split_host_port(char *host, size_t hostlen, uint16_t *port_ptr, const StringRef &hostport, const StringRef &opt) split_host_port() argument 4558 auto hostport = configure_downstream_group() local [all...] |
H A D | shrpx_worker.h | 91 StringRef hostport; member 454 // Selects group based on request's |hostport| and |path|. |hostport| 461 const RouterConfig &routerconfig, const StringRef &hostport,
|
H A D | shrpx.cc | 737 faddr.hostport = StringRef::from_lit("localhost"); in create_unix_domain_server_socket() 806 faddr.hostport = StringRef::from_lit("localhost"); in create_unix_domain_server_socket() 968 faddr.hostport = util::make_http_hostport(mod_config()->balloc, in create_tcp_server_socket() 971 LOG(NOTICE) << "Listening on " << faddr.hostport in create_tcp_server_socket() 3826 auto hostport = util::make_hostport(std::begin(hostport_buf), in process_options() local 3830 LOG(FATAL) << "Resolving backend HTTP proxy address failed: " << hostport; in process_options() 3833 LOG(NOTICE) << "Backend HTTP proxy address: " << hostport << " -> " in process_options() 3840 auto hostport = util::make_hostport(std::begin(hostport_buf), in process_options() local 3847 << hostport; in process_options() 3850 LOG(NOTICE) << "Memcached address for TLS session cache: " << hostport in process_options() 3862 auto hostport = util::make_hostport(std::begin(hostport_buf), process_options() local [all...] |
H A D | nghttp.h | 268 std::string hostport; member
|
H A D | util.h | 932 // Returns host from |hostport|. If host cannot be found in 933 // |hostport|, returns empty string. The returned string might not be 935 StringRef extract_host(const StringRef &hostport); 937 // split_hostport splits host and port in |hostport|. Unlike 942 std::pair<StringRef, StringRef> split_hostport(const StringRef &hostport);
|
H A D | shrpx_http2_downstream_connection.cc | 263 const auto &downstream_hostport = http2session_->get_addr()->hostport; in push_request_headers()
|
H A D | shrpx_config.h | 504 StringRef hostport; member 533 StringRef hostport; member
|
H A D | nghttp.cc | 458 {":authority", client->hostport}, in submit_request() 999 auto headers = Headers{{"host", hostport}, in on_upgrade_connect() 1463 hostport = ss.str(); in update_hostport()
|
H A D | shrpx_http2_session.cc | 696 req.append(addr_->hostport.c_str(), addr_->hostport.size()); in downstream_connect_proxy()
|
H A D | shrpx_client_handler.cc | 1684 return faddr_->hostport; in get_forwarded_by()
|
H A D | shrpx_http_downstream_connection.cc | 477 const auto &downstream_hostport = addr_->hostport; in push_request_headers()
|
/third_party/openssl/demos/bio/ |
H A 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/ |
H A 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/ |
H A 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()
|
H A 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()
|
H A 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/curl/lib/ |
H A D | hostip.h | 68 int hostport; member
|
H A D | hostip.c | 509 dns->hostport = port; in Curl_cache_addr() 1332 (dns->hostname[0] ? dns->hostname : "(none)"), dns->hostport); in show_resolve_info()
|
/third_party/python/Lib/urllib/ |
H A 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/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | [all...] |