summaryrefslogtreecommitdiff
path: root/cpp/xml
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/xml
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/xml')
-rw-r--r--cpp/xml/cluster.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/xml/cluster.xml b/cpp/xml/cluster.xml
index 8b9cbfed1e..7ca3dc862f 100644
--- a/cpp/xml/cluster.xml
+++ b/cpp/xml/cluster.xml
@@ -69,8 +69,13 @@
<class name="cluster-connection" code="0x81" label="Qpid clustering extensions.">
+ <!-- Abort a connection that is sending invalid data. -->
+ <control name="abort" code="0x1"/>
+
+ <!-- Marks the cluster-wide point when a connection is considered closed. -->
<control name="deliver-close" code="0x2"/>
+ <!-- Permission to generate output up to the limit. -->
<control name="deliver-do-output" code="0x3">
<field name="limit" type="uint32"/>
</control>