Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d95fc9b
)
THRIFT-2225 cpp: SSLContext destroy before cleanupOpenSSL
author
Roger Meier
<roger@apache.org>
Sun, 2 Feb 2014 22:56:19 +0000
(23:56 +0100)
committer
Roger Meier
<roger@apache.org>
Sun, 2 Feb 2014 22:56:19 +0000
(23:56 +0100)
Patch: soyer
lib/cpp/src/thrift/transport/TSSLSocket.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/thrift/transport/TSSLSocket.cpp
b/lib/cpp/src/thrift/transport/TSSLSocket.cpp
index
029c541
..
5f39f1c
100644
(file)
--- a/
lib/cpp/src/thrift/transport/TSSLSocket.cpp
+++ b/
lib/cpp/src/thrift/transport/TSSLSocket.cpp
@@
-363,6
+363,7
@@
TSSLSocketFactory::TSSLSocketFactory(): server_(false) {
TSSLSocketFactory::~TSSLSocketFactory() {
Guard guard(mutex_);
+ ctx_.reset();
count_--;
if (count_ == 0) {
cleanupOpenSSL();