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

Reply via email to