activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Mittler (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-823) Incorect handling of message size in ByteArrayOutputStream::write
Date Wed, 26 Jul 2006 00:48:23 GMT
     [ https://issues.apache.org/activemq/browse/AMQ-823?page=all ]

Nathan Mittler resolved AMQ-823.
--------------------------------

    Resolution: Fixed

Patch has been applied ... Thanks!

> Incorect handling of message size in ByteArrayOutputStream::write
> -----------------------------------------------------------------
>
>                 Key: AMQ-823
>                 URL: https://issues.apache.org/activemq/browse/AMQ-823
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: CMS (C++ client)
>    Affects Versions: incubation
>         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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message