Searched refs:extract_host (Results 1 – 5 of 5) sorted by relevance
615 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()
770 StringRef extract_host(const StringRef &hostport);
1374 auto authority = util::extract_host(req.authority); in redirect_to_https()
1520 StringRef extract_host(const StringRef &hostport) { in extract_host() function
1961 auto authority = util::extract_host(req.authority); in redirect_to_https()