Qpid
  1. Qpid
  2. QPID-3070

SessionComplete command sent for empty range

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.11
    • Component/s: Java Broker, Java Client
    • Labels:
      None

      Description

      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.

        Activity

        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robbie Gemmell made changes -
        Assignee Rafael H. Schloming [ rhs ] Robbie Gemmell [ gemmellr ]
        Andrew Kennedy made changes -
        Assignee Andrew Kennedy [ andrew.kennedy ] Rafael H. Schloming [ rhs ]
        Andrew Kennedy made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Andrew Kennedy made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Andrew Kennedy made changes -
        Field Original Value New Value
        Fix Version/s 0.11 [ 12316272 ]
        Fix Version/s 0.9 [ 12315382 ]
        Andrew Kennedy created issue -

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Andrew Kennedy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development