diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-30 15:18:37 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-30 15:18:37 +0100 |
| commit | 44b0742a979a4fed2780fa876bc56dea1d58dffd (patch) | |
| tree | a46bfe3d538873a82a4ffd3da991079be72582c9 /include | |
| parent | 6c2cba890ac542ca44c15482cbcab6638f33f21e (diff) | |
| parent | a2f177611cc552d20f833a6955a4c28d68fe7858 (diff) | |
| download | rabbitmq-server-git-44b0742a979a4fed2780fa876bc56dea1d58dffd.tar.gz | |
merge bug22889 into default
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit.hrl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 3fd525686b..6364d60f01 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). |
