summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-08-02 16:36:35 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-08-02 16:36:35 +0100
commit4b3a79ec87a5bcc5295e6becbd88164f1b18738c (patch)
treeea45ae1a6b323e37d348015635585662f4506309 /include
parent67a67d0384902b6e15bc1293ec8e02aba4b84f34 (diff)
parent35da42c0701892fd3f19f5c2a33e07d139fb198c (diff)
downloadrabbitmq-server-4b3a79ec87a5bcc5295e6becbd88164f1b18738c.tar.gz
Merging bug 23022 onto default
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 3fd52568..6364d60f 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -36,7 +36,8 @@
-record(vhost, {virtual_host, dummy}).
--record(connection, {user, timeout_sec, frame_max, vhost, client_properties}).
+-record(connection, {protocol, user, timeout_sec, frame_max, vhost,
+ client_properties}).
-record(content,
{class_id,
@@ -44,6 +45,7 @@
properties_bin, %% either 'none', or an encoded properties binary
%% Note: at most one of properties and properties_bin can be
%% 'none' at once.
+ protocol, %% The protocol under which properties_bin was encoded
payload_fragments_rev %% list of binaries, in reverse order (!)
}).
@@ -74,6 +76,7 @@
-define(COPYRIGHT_MESSAGE, "Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.").
-define(INFORMATION_MESSAGE, "Licensed under the MPL. See http://www.rabbitmq.com/").
+-define(PROTOCOL_VERSION, "AMQP 0-9-1 / 0-9 / 0-8").
-define(ERTS_MINIMUM, "5.6.3").
-define(MAX_WAIT, 16#ffffffff).