Skip to content

Commit e2af52f

Browse files
committed
Initialise delivery-count to 0
1 parent af65fb9 commit e2af52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_amqp_session.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
-define(INITIAL_OUTGOING_TRANSFER_ID, 0).
7474
%% "Note that, despite its name, the delivery-count is not a count but a
7575
%% sequence number initialized at an arbitrary point by the sender." [2.6.7]
76-
-define(INITIAL_DELIVERY_COUNT, ?UINT_MAX - 4).
76+
-define(INITIAL_DELIVERY_COUNT, 0).
7777
-define(INITIAL_OUTGOING_DELIVERY_ID, 0).
7878
-define(UINT(N), {uint, N}).
7979
%% [3.4]

0 commit comments

Comments
 (0)