You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/06/10 02:35:58 UTC

[jira] [Updated] (CXF-3582) Reading attachments using the middle of large buffer results in corruption

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

Daniel Kulp updated CXF-3582:
-----------------------------

      Description: 

When reading the attachment streams using ins.read(buf, 300, 500) or similar (using the middle of a  byte buffer), when a boundary is reached, not all the data is pushed back.   The result is that attachment headers get lost and thus attachments are not found.


  was:

While debugging some issues in Camel, I found some cases where MTOM attachments aren't working.   I'm still debugging.


         Priority: Blocker  (was: Major)
    Fix Version/s: 2.3.5
                   2.4.1
          Summary: Reading attachments using the middle of large buffer results in corruption  (was: Multiple large attachments may not find subsequent attachments)

> Reading attachments using the middle of large buffer results in corruption
> --------------------------------------------------------------------------
>
>                 Key: CXF-3582
>                 URL: https://issues.apache.org/jira/browse/CXF-3582
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.4
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>            Priority: Blocker
>             Fix For: 2.4.1, 2.3.5
>
>
> When reading the attachment streams using ins.read(buf, 300, 500) or similar (using the middle of a  byte buffer), when a boundary is reached, not all the data is pushed back.   The result is that attachment headers get lost and thus attachments are not found.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira