activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Moved: (AMQCPP-72) Incorect handling of message size in ByteArrayOutputStream::write
Date Tue, 27 Feb 2007 10:47:03 GMT

     [ https://issues.apache.org/activemq/browse/AMQCPP-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

james strachan moved AMQ-823 to AMQCPP-72:
------------------------------------------

          Component/s:     (was: CMS (C++ client))
    Affects Version/s:     (was: incubation)
                  Key: AMQCPP-72  (was: AMQ-823)
              Project: ActiveMQ C++ Client  (was: ActiveMQ)

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


Mime
View raw message