From 2cc4c7d1ee5c794121048f6b81300a6022b13981 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/qpid@1475803 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/TCPConnector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp') diff --git a/cpp/src/qpid/client/TCPConnector.cpp b/cpp/src/qpid/client/TCPConnector.cpp index 783742764b..502be900f7 100644 --- a/cpp/src/qpid/client/TCPConnector.cpp +++ b/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