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)" <qp...@incubator.apache.org> on 2009/06/11 13:17:08 UTC

[jira] Commented: (QPID-1901) Messages with no content that 'flow to disk' result in protocol errors on delivery

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

Gordon Sim commented on QPID-1901:
----------------------------------

Fixed in r783721.

> Messages with no content that 'flow to disk' result in protocol errors on delivery
> ----------------------------------------------------------------------------------
>
>                 Key: QPID-1901
>                 URL: https://issues.apache.org/jira/browse/QPID-1901
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M3, M4, 0.5
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>             Fix For: 0.6
>
>
> If 'flow to disk' is triggered for messages that have no content (i.e. if the
> content is released from memory because the queue onto which they are placed
> has reached a specified limit), then on delivery the broker sends an empty
> content frame after a header frame that marks the frameset as ended. This is a
> protcol violation and causes the connection to be terminated.
> To reproduce e.g. run:
> 1. qpid-config add queue test-queue --durable --max-queue-count 5
> 2. for m in one two three four five six seven "" eight nine ten; do echo $m;
> done | ./src/tests/sender --send-eos 1
> 3. ./src/tests/receiver

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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