projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add flag to indicate a session resumption attempt
[folly.git]
/
folly
/
io
/
async
/
AsyncSSLSocket.cpp
diff --git
a/folly/io/async/AsyncSSLSocket.cpp
b/folly/io/async/AsyncSSLSocket.cpp
index a7167989505714fa2a0087e65a864154a4f504c7..8175f8a5ac9157a3b31d8700abbe5abff206a82e 100644
(file)
--- 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;