summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_reader.erl6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 8b7cba48aa..14f790ec38 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -624,12 +624,6 @@ handle_method0(#'connection.tune_ok'{channel_max = _ChannelMax,
(?FRAME_MAX /= 0) and (FrameMax > ?FRAME_MAX) ->
rabbit_misc:protocol_error(
not_allowed, "invalid frame_max", []);
- %% If we have a channel_max limit that the client wishes to
- %% exceed, die as per spec. Not currently a problem, so we ignore
- %% the client's channel_max parameter.
- %%(?CHANNEL_MAX /= 0) and (ChannelMax > ?CHANNEL_MAX) ->
- %% rabbit_misc:protocol_error(
- %% not_allowed, "invalid channel_max");
true ->
rabbit_heartbeat:start_heartbeat(Sock, ClientHeartbeat),
State#v1{connection_state = opening,