diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 7a19376b88..a2a22f8a07 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -473,6 +473,8 @@ queue_blocked(QPid, State = #ch{blocking = Blocking}) -> confirm([], _QPid, State) -> State; +confirm(_MsgSeqNos, _QPid, State = #ch{confirm_enabled = false}) -> + State; confirm(MsgSeqNos, undefined, State = #ch{unconfirmed = UC, queues_for_msg = QFM}) -> MsgSeqNos1 = [MSN || MSN <- MsgSeqNos, gb_sets:is_element(MSN, UC)], |
