X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=folly%2Fio%2Fasync%2FAsyncSSLSocket.cpp;h=8175f8a5ac9157a3b31d8700abbe5abff206a82e;hb=fd03201905c42cab89332187c5ba8d6e25154de2;hp=a7167989505714fa2a0087e65a864154a4f504c7;hpb=8b030a19052a279d33c162a59a205dd62a724c67;p=folly.git diff --git a/folly/io/async/AsyncSSLSocket.cpp b/folly/io/async/AsyncSSLSocket.cpp index a7167989..8175f8a5 100644 --- a/folly/io/async/AsyncSSLSocket.cpp +++ b/folly/io/async/AsyncSSLSocket.cpp @@ -757,6 +757,7 @@ void AsyncSSLSocket::sslConn(HandshakeCB* callback, uint64_t timeout, applyVerificationOptions(ssl_); if (sslSession_ != nullptr) { + sessionResumptionAttempted_ = true; SSL_set_session(ssl_, sslSession_); SSL_SESSION_free(sslSession_); sslSession_ = nullptr;