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 | 2cc4c7d1ee5c794121048f6b81300a6022b13981 (patch) | |
| tree | 5de8966bae2cdf1bf7191a1bde044d7423de2063 /cpp | |
| parent | a9a2188dd716e0488792062e4f70d4488d52f839 (diff) | |
| download | qpid-python-2cc4c7d1ee5c794121048f6b81300a6022b13981.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')
| -rw-r--r-- | cpp/src/qpid/client/TCPConnector.cpp | 2 |
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)); |
