diff options
author | Andrew Stitcher <astitcher@apache.org> | 2013-04-25 14:45:00 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2013-04-25 14:45:00 +0000 |
commit | ca404900574577031fe15da19be5b1d8188260cc (patch) | |
tree | b121e9f435dd6683abdc9d95e1dd38a1b8609c99 | |
parent | b7be5cd127c82f5bcd8836a3e534830bb9f8a59e (diff) | |
download | qpid-python-ca404900574577031fe15da19be5b1d8188260cc.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@1475803 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/client/TCPConnector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |