From bbbffc44b6ce962cca02b8aa0f21cc1a2b3dd551 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 14 Jun 2012 21:43:25 +0000 Subject: QPID-4049: Linux C++ broker crashes when client connects SSL with expired certificate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1350406 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/sys/ssl/SslHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/qpid/sys/ssl/SslHandler.cpp b/qpid/cpp/src/qpid/sys/ssl/SslHandler.cpp index 826c294c80..8613059f28 100644 --- a/qpid/cpp/src/qpid/sys/ssl/SslHandler.cpp +++ b/qpid/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; } -- cgit v1.2.1