[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] Updated: (AMQCPP-72) Incorect handling of message size in
From:       "Nathan Mittler (JIRA)" <jira () apache ! org>
Date:       2007-02-27 12:29:03
Message-ID: 15130405.1172579343250.JavaMail.jira () brutus
[Download RAW message or body]


     [ 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic