summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <michael@rabbitmq.com>2013-12-12 16:35:34 +0400
committerMichael Klishin <michael@rabbitmq.com>2013-12-12 16:35:34 +0400
commit34b1cfd50c9eae15d87c8de5d0dbcb40b4ee55d2 (patch)
treee616801d5a2e5bef459e5abf5919388a80ab7516
parent13de94db5d2ef73e4ae711e7579d1bb82f0915cd (diff)
downloadrabbitmq-server-34b1cfd50c9eae15d87c8de5d0dbcb40b4ee55d2.tar.gz
channel_count is initialized in start_connection
which is invoked as soon as we get a valid handshake
-rw-r--r--src/rabbit_reader.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 1717faff..4d418c15 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -885,7 +885,6 @@ handle_method0(#'connection.tune_ok'{frame_max = FrameMax,
rabbit_heartbeat:start(SupPid, Sock, ClientHeartbeat,
SendFun, ClientHeartbeat, ReceiveFun),
State#v1{connection_state = opening,
- channel_count = 0,
connection = Connection#connection{
frame_max = FrameMax,
channel_max = ChannelMax,