Home
last modified time | relevance | path

Searched refs:hostport (Results 1 - 22 of 22) sorted by relevance

/third_party/nghttp2/src/
H A Dshrpx_worker.cc306 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 Dutil.cc1605 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 Dshrpx_config.cc119 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 Dshrpx_worker.h91 StringRef hostport; member
454 // Selects group based on request's |hostport| and |path|. |hostport|
461 const RouterConfig &routerconfig, const StringRef &hostport,
H A Dshrpx.cc737 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 Dnghttp.h268 std::string hostport; member
H A Dutil.h932 // 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 Dshrpx_http2_downstream_connection.cc263 const auto &downstream_hostport = http2session_->get_addr()->hostport; in push_request_headers()
H A Dshrpx_config.h504 StringRef hostport; member
533 StringRef hostport; member
H A Dnghttp.cc458 {":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 Dshrpx_http2_session.cc696 req.append(addr_->hostport.c_str(), addr_->hostport.size()); in downstream_connect_proxy()
H A Dshrpx_client_handler.cc1684 return faddr_->hostport; in get_forwarded_by()
H A Dshrpx_http_downstream_connection.cc477 const auto &downstream_hostport = addr_->hostport; in push_request_headers()
/third_party/openssl/demos/bio/
H A Dsconnect.c30 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 Dclient.c97 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 Dtest_new_connection.c126 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 Dtest_notls.c105 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 Dtest_request_response.c108 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 Dhostip.h68 int hostport; member
H A Dhostip.c509 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 Drequest.py784 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 Dstylo.hpp[all...]

Completed in 98 milliseconds