summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-04-25 14:45:00 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-04-25 14:45:00 +0000
commit948b22bac1bfad18bdfdddca17b020eac53abbdb (patch)
tree5de8966bae2cdf1bf7191a1bde044d7423de2063 /cpp/src
parent3b09a8d27515756f48d6c148c035831a81ffbf78 (diff)
downloadqpid-python-948b22bac1bfad18bdfdddca17b020eac53abbdb.tar.gz
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
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/client/TCPConnector.cpp2
1 files changed, 1 insertions, 1 deletions
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));