diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-07-13 14:53:03 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-07-13 14:53:03 +0100 |
commit | 88b0306f07427c67beff8c723ae1dba6a83cfa60 (patch) | |
tree | cc19ca6b63efb2179c7d41aec9c9a8dbe16f661d /include | |
parent | b2b656f419b024f7bdda3528c303c8f9bf69a220 (diff) | |
parent | bafc4a909649767f3ed11142d52f8416be62d680 (diff) | |
download | rabbitmq-server-88b0306f07427c67beff8c723ae1dba6a83cfa60.tar.gz |
merge default into bug24991
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit.hrl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index e8b4a623..1c88780f 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). |