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.9


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:[email protected]

Reply via email to