You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2011/02/18 16:34:38 UTC

[jira] Commented: (QPID-3070) SessionComplete command sent for empty range

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

Gordon Sim commented on QPID-3070:
----------------------------------

Certainly there is no value to sending an empty SessionCompleted

> 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:dev-subscribe@qpid.apache.org