Lines Matching refs:hostport
119 const StringRef &hostport, const StringRef &opt) {
120 // host and port in |hostport| is separated by single ','.
121 auto sep = std::find(std::begin(hostport), std::end(hostport), ',');
122 if (sep == std::end(hostport)) {
123 LOG(ERROR) << opt << ": Invalid host, port: " << hostport;
126 size_t len = sep - std::begin(hostport);
128 LOG(ERROR) << opt << ": Hostname too long: " << hostport;
131 std::copy(std::begin(hostport), sep, host);
134 auto portstr = StringRef{sep + 1, std::end(hostport)};
4529 // hostport. This is used as Host header field to backend and
4531 addr.hostport = StringRef::from_lit("localhost");
4555 addr.hostport =
4558 auto hostport =
4564 LOG(FATAL) << "Resolving backend address failed: " << hostport;
4569 LOG(INFO) << "Resolved backend address: " << hostport << " -> "
4573 LOG(INFO) << "Resolving backend address " << hostport
4597 key = addr.hostport;