You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2018/08/05 21:33:00 UTC
[jira] [Assigned] (QPID-8223) [Broker-J] [AMQP 1.0] Broker can stop
delivering messages when sending link delivery-count value exceeds
Integer.MAX_VALUE, wraps around and turns negative
[ https://issues.apache.org/jira/browse/QPID-8223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy reassigned QPID-8223:
--------------------------------
Assignee: Alex Rudyy
> [Broker-J] [AMQP 1.0] Broker can stop delivering messages when sending link delivery-count value exceeds Integer.MAX_VALUE, wraps around and turns negative
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-8223
> URL: https://issues.apache.org/jira/browse/QPID-8223
> Project: Qpid
> Issue Type: Bug
> Components: Broker-J
> Affects Versions: qpid-java-broker-7.0.3, qpid-java-broker-7.0.2, qpid-java-broker-7.0.0, qpid-java-broker-7.0.1, qpid-java-broker-7.0.4, qpid-java-broker-7.0.5, qpid-java-broker-7.0.6
> Reporter: Alex Rudyy
> Assignee: Alex Rudyy
> Priority: Major
> Fix For: qpid-java-broker-7.1.0, qpid-java-broker-7.0.7
>
>
> The value of {{delivery-count}} is conceptually unbounded but it is encoded as a 32-bit
> integer that wraps around and compares according to RFC-1982 serial number arithmetic. Broker-J does not handle the case of "negative credit" on a link correctly. For example, if deliver count is {{-1}} and credit is {{1}}, then limit would calculate as {{0}} and broker would stop sending messages
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org