Home
last modified time | relevance | path

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

/third_party/nghttp2/src/
Dutil_test.cc615 util::extract_host(StringRef::from_lit("foo"))); in test_util_extract_host()
617 util::extract_host(StringRef::from_lit("foo:"))); in test_util_extract_host()
619 util::extract_host(StringRef::from_lit("foo:0"))); in test_util_extract_host()
621 util::extract_host(StringRef::from_lit("[::1]"))); in test_util_extract_host()
623 util::extract_host(StringRef::from_lit("[::1]:"))); in test_util_extract_host()
625 CU_ASSERT(util::extract_host(StringRef::from_lit(":foo")).empty()); in test_util_extract_host()
626 CU_ASSERT(util::extract_host(StringRef::from_lit("[::1")).empty()); in test_util_extract_host()
627 CU_ASSERT(util::extract_host(StringRef::from_lit("[::1]0")).empty()); in test_util_extract_host()
628 CU_ASSERT(util::extract_host(StringRef{}).empty()); in test_util_extract_host()
Dutil.h770 StringRef extract_host(const StringRef &hostport);
Dshrpx_https_upstream.cc1374 auto authority = util::extract_host(req.authority); in redirect_to_https()
Dutil.cc1520 StringRef extract_host(const StringRef &hostport) { in extract_host() function
Dshrpx_http2_upstream.cc1961 auto authority = util::extract_host(req.authority); in redirect_to_https()