You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Nathan Mittler (JIRA)" <ji...@apache.org> on 2007/02/27 13:29:03 UTC
[jira] Updated: (AMQCPP-72) Incorect handling of message size in
ByteArrayOutputStream::write
[ https://issues.apache.org/activemq/browse/AMQCPP-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Mittler updated AMQCPP-72:
---------------------------------
Component/s: Other C++ Clients
> Incorect handling of message size in ByteArrayOutputStream::write
> -----------------------------------------------------------------
>
> Key: AMQCPP-72
> URL: https://issues.apache.org/activemq/browse/AMQCPP-72
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Other C++ Clients
> Environment: RHEL 4/32bit
> Reporter: Radek Sedmak
> Assigned To: Nathan Mittler
> Attachments: patch.txt
>
> Original Estimate: 10 minutes
> Remaining Estimate: 10 minutes
>
> when you are sending message via openwire protocol, ByteArrayOutputStream::write is called in certain moment ...
> when message size is greater then defaul CHUNK space is reallocated and there is "check for EOF offset".
>
> if( offset > bodySize )
> expandBody() ;
> but should be there
> if ( offset >= bodySize )
> expandBody();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.