summaryrefslogtreecommitdiff
path: root/qpid/cpp/xml/cluster.xml
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-06-08 15:31:31 +0000
committerAlan Conway <aconway@apache.org>2010-06-08 15:31:31 +0000
commit4f6804221443259a89ff761f798d8c25b9cbffa7 (patch)
tree4cf4730d2d6f9aab4267ee94d1e5dd897642ebbe /qpid/cpp/xml/cluster.xml
parent7b3b89d9a5ebf239cc227070b01f911d1b522fbb (diff)
downloadqpid-python-4f6804221443259a89ff761f798d8c25b9cbffa7.tar.gz
Cluster handle connection-negotiation phase in local broker.
The connection negotiation phase up to the "open" or "open-ok" frame establishes whether/what encryption to use for the rest of the connection. With this patch a cluster broker completes the initial negotiation with its local clients and only then begins multicasting to other brokers. The local broker decrypts if necessary and multicasts in the clear. This replaces a problematic locking scheme that was formerly in place which caused deadlocks. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@952692 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml/cluster.xml')
-rw-r--r--qpid/cpp/xml/cluster.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml
index 29157dc148..30cd159dd3 100644
--- a/qpid/cpp/xml/cluster.xml
+++ b/qpid/cpp/xml/cluster.xml
@@ -127,6 +127,10 @@
<field name="authid" type="str16"/>
<!-- exclude certain sasl mechs, used with ssl and sasl-external -->
<field name="nodict" type="bit"/>
+ <!-- User name as negotiated by SASL -->
+ <field name="username" type="str32"/>
+ <!-- Frames forming the initial connection negotiation. -->
+ <field name="initial-frames" type="str32"/>
</control>
<!-- Marks the cluster-wide point when a connection is considered closed. -->
@@ -263,11 +267,5 @@
<control name="management-agents" code="0x37">
<field name="data" type="vbin32"/>
</control>
-
- <!-- Announce the user ID on a secure connection -->
- <control name="secureUserId" code="0x38">
- <field name="secure-user-id" type="str16"/>
- </control>
-
</class>
</amqp>