24 acceptor_->getConnectionManager()->addConnection(
this,
true);
26 startHandshakeTimeout();
40 acceptor_->getConnectionManager()->removeConnection(
this);
58 transport, timeSinceAcceptMs(), sslErr.value());
60 acceptor_->getConnectionManager()->removeConnection(
this);
66 return std::chrono::duration_cast<std::chrono::milliseconds>(
73 this, handshake_timeout);
virtual void start(folly::AsyncSSLSocket::UniquePtr sock) noexcept
std::chrono::milliseconds getSSLHandshakeTimeout() const
std::chrono::steady_clock::time_point now()
constexpr detail::Map< Move > move
requires E e noexcept(noexcept(s.error(std::move(e))))
void connectionReady(folly::AsyncTransportWrapper::UniquePtr transport, std::string nextProtocol, SecureTransportType secureTransportType, folly::Optional< SSLErrorEnum > details) noexceptoverride
std::unique_ptr< AsyncSSLSocket, Destructor > UniquePtr
FizzServerAcceptor * acceptor_
std::chrono::milliseconds timeSinceAcceptMs() const
std::unique_ptr< AsyncTransportWrapper, Destructor > UniquePtr
void scheduleTimeout(ManagedConnection *const connection, std::chrono::milliseconds timeout)
std::chrono::steady_clock::time_point acceptTime_
virtual wangle::ConnectionManager * getConnectionManager()
void startHandshakeTimeout()
void connectionError(folly::AsyncTransportWrapper *transport, folly::exception_wrapper ex, folly::Optional< SSLErrorEnum > details) noexceptoverride