X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Fio%2Fasync%2FAsyncSSLSocket.h;h=8de643b82ea3fd346387d13fadee17f7485cd246;hp=874fb9ddc6d32178774df675658f505ea7c8550c;hb=e5b4d8b8ade846ad09423fcfb40555f80c8caef3;hpb=fe34da59aecff8fb1bfca13361d02026cfa3b17e diff --git a/folly/io/async/AsyncSSLSocket.h b/folly/io/async/AsyncSSLSocket.h index 874fb9dd..8de643b8 100644 --- a/folly/io/async/AsyncSSLSocket.h +++ b/folly/io/async/AsyncSSLSocket.h @@ -877,8 +877,6 @@ class AsyncSSLSocket : public virtual AsyncSocket { SSL_SESSION *sslSession_{nullptr}; Timeout handshakeTimeout_; Timeout connectionTimeout_; - // whether the SSL session was resumed using session ID or not - bool sessionIDResumed_{false}; // The app byte num that we are tracking for the MSG_EOR // Only one app EOR byte can be tracked. @@ -918,10 +916,13 @@ class AsyncSSLSocket : public virtual AsyncSocket { std::chrono::steady_clock::time_point handshakeStartTime_; std::chrono::steady_clock::time_point handshakeEndTime_; std::chrono::milliseconds handshakeConnectTimeout_{0}; - bool sessionResumptionAttempted_{false}; std::chrono::milliseconds totalConnectTimeout_{0}; std::string sslVerificationAlert_; + + bool sessionResumptionAttempted_{false}; + // whether the SSL session was resumed using session ID or not + bool sessionIDResumed_{false}; }; } // namespace