Lines Matching refs:addr_
116 addr_(addr),
205 if (!dns_query_ && addr_->tls) { in initiate_connection()
213 switch (addr_->proto) { in initiate_connection()
225 conn_.tls.client_session_cache = &addr_->tls_session_cache; in initiate_connection()
228 if (addr_->dns) { in initiate_connection()
231 addr_->host, [this](DNSResolverStatus status, const Address *result) { in initiate_connection()
272 util::set_port(*resolved_addr_, addr_->port); in initiate_connection()
275 raddr_ = &addr_->addr; in initiate_connection()
299 if (addr_->tls) { in initiate_connection()
301 addr_->sni.empty() ? StringRef{addr_->host} : StringRef{addr_->sni}; in initiate_connection()
306 auto session = tls::reuse_tls_session(addr_->tls_session_cache); in initiate_connection()
361 if (addr_->proto == Proto::HTTP2) { in connected()
399 tls::check_cert(conn_.tls.ssl, addr_, raddr_) != 0) { in tls_handshake()
419 switch (addr_->proto) { in tls_handshake()
666 LOG(INFO) << "Liveness check for " << addr_->host << ":" << addr_->port in on_failure()
680 LOG(INFO) << "Liveness check for " << addr_->host << ":" << addr_->port in on_success()
684 if (success_count_ < addr_->rise) { in on_success()
692 LOG(NOTICE) << util::to_numeric_addr(&addr_->addr) << " is considered online"; in on_success()
694 addr_->connect_blocker->online(); in on_success()
778 addr_->tls && !nghttp2::tls::check_http2_requirement(conn_.tls.ssl); in connection_made()