You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2009/06/11 13:14:57 UTC
svn commit: r783721 - /qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp
Author: gsim
Date: Thu Jun 11 11:14:57 2009
New Revision: 783721
URL: http://svn.apache.org/viewvc?rev=783721&view=rev
Log:
QPID-1901: only try to load content if there is some
Modified:
qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp?rev=783721&r1=783720&r2=783721&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp Thu Jun 11 11:14:57 2009
@@ -226,7 +226,7 @@
void Message::sendContent(const Queue& queue, framing::FrameHandler& out, uint16_t maxFrameSize) const
{
- if (isContentReleased()) {
+ if (isContentReleased() && !frames.isComplete()) {
uint16_t maxContentSize = maxFrameSize - AMQFrame::frameOverhead();
bool morecontent = true;
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org