summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-07-18 17:43:51 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-07-18 17:43:51 +0100
commitdbc24ef0f0d803077ded2be9c9016cfbf7c61992 (patch)
tree098abfae7e825cea10b5ba72ffe2bdcf60056aeb /include
parentd59d66f9f158865ebaf08fc3e484b62f3d221fc0 (diff)
parent6eb276a95c4d4ef370f22ce7b5ba62719a3bbba3 (diff)
downloadrabbitmq-server-git-dbc24ef0f0d803077ded2be9c9016cfbf7c61992.tar.gz
merge default into bug24991
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index e8b4a6232e..1c88780f99 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -93,6 +93,15 @@
-define(PROTOCOL_VERSION, "AMQP 0-9-1 / 0-9 / 0-8").
-define(ERTS_MINIMUM, "5.6.3").
+%% EMPTY_FRAME_SIZE, 8 = 1 + 2 + 4 + 1
+%% - 1 byte of frame type
+%% - 2 bytes of channel number
+%% - 4 bytes of frame payload length
+%% - 1 byte of payload trailer FRAME_END byte
+%% See rabbit_binary_generator:check_empty_frame_size/0, an assertion
+%% called at startup.
+-define(EMPTY_FRAME_SIZE, 8).
+
-define(MAX_WAIT, 16#ffffffff).
-define(HIBERNATE_AFTER_MIN, 1000).