diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 13:01:40 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 13:01:40 +0100 |
| commit | 47a902d81151a201ca44ef02992fa5ed7c2a7360 (patch) | |
| tree | b0f2f9769cccfc83a25da6ec12c4e90367dae096 | |
| parent | f8ece9ffd114abe663e7f9bb76ac5cbfdffdfc08 (diff) | |
| download | rabbitmq-server-git-47a902d81151a201ca44ef02992fa5ed7c2a7360.tar.gz | |
This is clearly driving me insane. channel.tune-ok does not exist, even in 0-9.
(And this was not caught by tests since our Java client seems happy with either version of open-ok, but we shouldn't count on that.)
| -rw-r--r-- | src/rabbit_framing_channel.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_framing_channel.erl b/src/rabbit_framing_channel.erl index 90856cdf3f..6c184c2c92 100644 --- a/src/rabbit_framing_channel.erl +++ b/src/rabbit_framing_channel.erl @@ -82,12 +82,12 @@ mainloop(ChannelPid, Protocol) -> end, ?MODULE:mainloop(ChannelPid, Protocol). -%% Handle 0-8 version of channel.tune-ok. In 0-9-1 it gained a longstr +%% Handle 0-8 version of channel.open-ok. In 0-9-1 it gained a longstr %% "deprecated_channel_id". -decode_method_fields('channel.tune_ok', FieldsBin, protocol_08) -> +decode_method_fields('channel.open_ok', FieldsBin, protocol_08) -> Len = 0, rabbit_framing:decode_method_fields( - 'channel.tune_ok', <<FieldsBin/binary, Len:32/unsigned>>); + 'channel.open_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, protocol_08) -> |
