applyVerificationOptions(ssl_);
if (sslSession_ != nullptr) {
+ sessionResumptionAttempted_ = true;
SSL_set_session(ssl_, sslSession_);
SSL_SESSION_free(sslSession_);
sslSession_ = nullptr;
return certCacheHit_;
}
+ bool sessionResumptionAttempted() const {
+ return sessionResumptionAttempted_;
+ }
+
private:
void init();
std::chrono::steady_clock::time_point handshakeStartTime_;
std::chrono::steady_clock::time_point handshakeEndTime_;
uint64_t handshakeConnectTimeout_{0};
+ bool sessionResumptionAttempted_{false};
};
} // namespace