From ca404900574577031fe15da19be5b1d8188260cc Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 25 Apr 2013 14:45:00 +0000 Subject: QPID-3828: When sending large messages loss of connection is not detected even with heartbeats enabled [Patch from gordon Sim] git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1475803 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/client/TCPConnector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qpid/cpp/src/qpid/client/TCPConnector.cpp b/qpid/cpp/src/qpid/client/TCPConnector.cpp index 783742764b..502be900f7 100644 --- a/qpid/cpp/src/qpid/client/TCPConnector.cpp +++ b/qpid/cpp/src/qpid/client/TCPConnector.cpp @@ -161,7 +161,7 @@ void TCPConnector::abort() { if (!closed) { if (aio) { // Established connection - aio->requestCallback(boost::bind(&TCPConnector::eof, this, _1)); + aio->requestCallback(boost::bind(&TCPConnector::disconnected, this, _1)); } else if (connector) { // We're still connecting connector->requestCallback(boost::bind(&TCPConnector::connectAborted, this)); -- cgit v1.2.1