summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Connection.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-06-17 20:45:52 +0000
committerAlan Conway <aconway@apache.org>2009-06-17 20:45:52 +0000
commitebf8ccf7bb8c5d7111b04a76c9b5bc9c8e0c6327 (patch)
tree87b6a353376fd798bdc032e8fc205e8042c99a05 /cpp/src/qpid/cluster/Connection.h
parent00cefc5c8dc3eac268a39141254aea5e6f1ab8e7 (diff)
downloadqpid-python-ebf8ccf7bb8c5d7111b04a76c9b5bc9c8e0c6327.tar.gz
Handle invalid AMPQ data to a cluster by closing the offending connection.
Prior to this fix, invalid data shut down the whole cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785788 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.h')
-rw-r--r--cpp/src/qpid/cluster/Connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Connection.h b/cpp/src/qpid/cluster/Connection.h
index 51aab92bfc..0b7c151e8a 100644
--- a/cpp/src/qpid/cluster/Connection.h
+++ b/cpp/src/qpid/cluster/Connection.h
@@ -150,7 +150,7 @@ class Connection :
void exchange(const std::string& encoded);
void giveReadCredit(int credit);
-
+ void abort();
void deliverClose();
OutputInterceptor& getOutput() { return output; }