[ https://issues.apache.org/jira/browse/QPID-8223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571466#comment-16571466 ]
ASF subversion and git services commented on QPID-8223: ------------------------------------------------------- Commit de4c356749aa87c5792bd966786eae0d8af90f39 in qpid-broker-j's branch refs/heads/7.0.x from [~alex.rufous] [ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=de4c356 ] QPID-8223:[Broker-J][AMQP 1.0] Fix evaluation of sending link credit (cherry picked from commit 42bbdb6598f402fb7f2cb7ab194db27de9653e2c) > [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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org