You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/11/26 07:48:13 UTC

[jira] Created: (IMAP-235) InputStream.writeTo(..) may not skip the headers when Type.Body is used

InputStream.writeTo(..) may not skip the headers when Type.Body is used
-----------------------------------------------------------------------

                 Key: IMAP-235
                 URL: https://issues.apache.org/jira/browse/IMAP-235
             Project: JAMES Imap
          Issue Type: Bug
          Components: Mailbox
    Affects Versions: 0.2
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 0.2


I introduced code to make it more performant to transfer data when using a FileInputStream. Unfortunally I introduced a bug here where its possible that the headers are not skipped before writing back the stream to the client. This is because I do some wrapping and not check if the header were skipped before write the stream to the client

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (IMAP-235) InputStream.writeTo(..) may not skip the headers when Type.Body is used

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/IMAP-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved IMAP-235.
--------------------------------

    Resolution: Fixed

done!

> InputStream.writeTo(..) may not skip the headers when Type.Body is used
> -----------------------------------------------------------------------
>
>                 Key: IMAP-235
>                 URL: https://issues.apache.org/jira/browse/IMAP-235
>             Project: JAMES Imap
>          Issue Type: Bug
>          Components: Mailbox
>    Affects Versions: 0.2
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>
> I introduced code to make it more performant to transfer data when using a FileInputStream. Unfortunally I introduced a bug here where its possible that the headers are not skipped before writing back the stream to the client. This is because I do some wrapping and not check if the header were skipped before write the stream to the client

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org