virtual void connectionError(folly::AsyncTransportWrapper *transport, folly::exception_wrapper ex, folly::Optional< SSLErrorEnum > sslErr) noexceptoverride
constexpr detail::Map< Move > move
void start(folly::AsyncSSLSocket::UniquePtr sock, AcceptorHandshakeHelper::Callback *callback) noexceptoverride
requires E e noexcept(noexcept(s.error(std::move(e))))
AcceptorHandshakeHelper::Callback * callback_
folly::EventBase * originalEvb_
std::unique_ptr< AsyncSSLSocket, Destructor > UniquePtr
std::unique_ptr< AsyncTransportWrapper, Destructor > UniquePtr
void dropConnection(SSLErrorEnum reason=SSLErrorEnum::NO_ERROR) override
std::pair< bool, HandshakeState > tryTransition(HandshakeState expected, HandshakeState next)
folly::EventBase * handshakeEvb_
AcceptorHandshakeHelper::UniquePtr helper_
virtual void connectionReady(folly::AsyncTransportWrapper::UniquePtr transport, std::string nextProtocol, SecureTransportType secureTransportType, folly::Optional< SSLErrorEnum > sslErr) noexceptoverride
EvbHandshakeHelper(AcceptorHandshakeHelper::UniquePtr helper, folly::EventBase *handshakeEvb)
std::atomic< HandshakeState > state_
std::unique_ptr< AcceptorHandshakeHelper, folly::DelayedDestruction::Destructor > UniquePtr
folly::Optional< folly::DelayedDestruction::DestructorGuard > dropConnectionGuard_