summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-06-14 21:43:25 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-06-14 21:43:25 +0000
commite74ca0f72c3144a0770b23601b47aa9ce18489f0 (patch)
treee7576f963f1e36850e5716d4e034780b3e46febf /cpp
parent9c982b1fc1a314291d3dd96b9969c0977cb93fec (diff)
downloadqpid-python-e74ca0f72c3144a0770b23601b47aa9ce18489f0.tar.gz
QPID-4049: Linux C++ broker crashes when client connects SSL with expired certificate
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1350406 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/sys/ssl/SslHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/ssl/SslHandler.cpp b/cpp/src/qpid/sys/ssl/SslHandler.cpp
index 826c294c80..8613059f28 100644
--- a/cpp/src/qpid/sys/ssl/SslHandler.cpp
+++ b/cpp/src/qpid/sys/ssl/SslHandler.cpp
@@ -73,6 +73,8 @@ SslHandler::SslHandler(std::string id, ConnectionCodec::Factory* f, bool _nodict
SslHandler::~SslHandler() {
if (codec)
codec->closed();
+ if (timeoutTimerTask)
+ timeoutTimerTask->cancel();
delete codec;
}