summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-08-02 15:57:38 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-08-02 15:57:38 +0100
commitd074060b4ebeb366d3bc061effc5073d066431d4 (patch)
tree1644c1b865491bfd916270cbe029f38326849983 /include/rabbit.hrl
parent5bb9266f08771a963e838093bf0f5e8ce6f30a5e (diff)
parent2efd9f8a2a2b167b21fc22b427613564b0bf6807 (diff)
downloadrabbitmq-server-git-d074060b4ebeb366d3bc061effc5073d066431d4.tar.gz
Merge default into bug21387.
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 5df9e690db..a2529e2d19 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 (!)
}).
@@ -76,6 +78,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).