diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 11:24:00 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 11:24:00 +0100 |
| commit | 1e6d343efdd7fd3de0cc6a48ed84d70f22b2b4ad (patch) | |
| tree | 5ffdc57984ccfe15fe773e5f96347ec944ed17eb /src | |
| parent | 41f7db4c3d5da75bd401b62c22175fa13de2cbea (diff) | |
| download | rabbitmq-server-git-1e6d343efdd7fd3de0cc6a48ed84d70f22b2b4ad.tar.gz | |
Handle 0-8 channel.tune-ok.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_framing_channel.erl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rabbit_framing_channel.erl b/src/rabbit_framing_channel.erl index 8eabf42bdc..490435835d 100644 --- a/src/rabbit_framing_channel.erl +++ b/src/rabbit_framing_channel.erl @@ -82,7 +82,14 @@ mainloop(ChannelPid) -> end, ?MODULE:mainloop(ChannelPid). -%% Handle 0-8 version of basic.consume, which doesn't have a table on the end +%% Handle 0-8 version of channel.tune-ok. In 0-9-1 it gained a longstr +%% "deprecated_channel_id". +decode_method_fields('channel.tune_ok', FieldsBin) -> + Len = 0, + rabbit_framing:decode_method_fields( + 'channel.tune_ok', <<FieldsBin/binary, Len:32/unsigned>>); +%% Handle 0-8 version of basic.consume. In 0-9-1 it gained a table +%% "filter". decode_method_fields('basic.consume', FieldsBin) -> T = rabbit_binary_generator:generate_table([]), TLen = size(T), |
