You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In AMQP 1.0, a delivery-number is a 32-bit RFC-1982 serial number.
The DISPOSITION frame includes fields first and last. first is the lower bound of delivery-ids to be (n)acked. last is the upper bound of delivery-ids to be (n)acked.
To provide an example:
Serial number arithmetic defines sequence number 1 to be greater than sequence number 4294967294 (= 2^32-2) .
Therefore my understanding is that a DISPOSITION frame with first = 4294967294 and last = 1 is allowed and refers to delivery-numbers 4294967294, 4294967295, 0, and 1.
In AMQP 1.0, a delivery-number is a 32-bit RFC-1982 serial number.
The DISPOSITION frame includes fields
first
andlast
.first
is the lower bound of delivery-ids to be (n)acked.last
is the upper bound of delivery-ids to be (n)acked.To provide an example:
Serial number arithmetic defines sequence number 1 to be greater than sequence number 4294967294 (= 2^32-2) .
Therefore my understanding is that a DISPOSITION frame with first = 4294967294 and last = 1 is allowed and refers to delivery-numbers 4294967294, 4294967295, 0, and 1.
Is my understanding correct?
If yes, aren't
go-amqp/session.go
Line 418 in 1c1e489
and
go-amqp/session.go
Line 708 in 1c1e489
flawed? These lines need to perform serial number arithmetic instead of integer arithmetic?
The text was updated successfully, but these errors were encountered: