[ 
https://issues.apache.org/jira/browse/QPID-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003465#comment-13003465
 ] 

Rafael H. Schloming commented on QPID-3070:
-------------------------------------------

I don't think there was any good reason for it. I'd go ahead with the change.

> SessionComplete command sent for empty range
> --------------------------------------------
>
>                 Key: QPID-3070
>                 URL: https://issues.apache.org/jira/browse/QPID-3070
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Client
>    Affects Versions: 0.9
>            Reporter: Andrew Kennedy
>            Assignee: Andrew Kennedy
>             Fix For: 0.11
>
>
> The 0-10 AMQP protocol implementation sends a SessionComplete command with an 
> empty RangeSet, which will be replied to with a SessionKnownComplete and a 
> similar empty or null RangeSet (these are equivalent on the wire) iff the 
> TimelyReply field is set to true in the request.
> I think that the initial empty SessionComplete (caused by a call to 
> flushProcessed normally) should never be sent, so adding a check for 
> range.size() > 0 before sending should do this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to