diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-01-11 09:54:17 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-01-11 09:54:17 +0000 |
commit | 9c56be21804d68000f6e74a0cdab6d8cf861810f (patch) | |
tree | 4470e526dea136dbd7c0195542da7d132c809193 | |
parent | 7372c6f05bd26d0e480183429d09be44676e5338 (diff) | |
download | rabbitmq-server-bug23671.tar.gz |
start confirm sequence numbering at 1 instead of 0bug23671
in order to avoid conflict with special meaning of deliver_tag=0 in basic.ack
-rw-r--r-- | src/rabbit_channel.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 579d7f49..930e48e6 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -185,7 +185,7 @@ init([Channel, ReaderPid, WriterPid, User, VHost, CollectorPid, queue_collector_pid = CollectorPid, stats_timer = StatsTimer, confirm_enabled = false, - publish_seqno = 0, + publish_seqno = 1, unconfirmed = gb_sets:new(), queues_for_msg = dict:new()}, rabbit_event:notify(channel_created, infos(?CREATION_EVENT_KEYS, State)), |