james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohan Hart (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Commented: (MIME4J-164) Incremental address list field parsing
Date Wed, 16 Feb 2011 22:08:25 GMT

    [ https://issues.apache.org/jira/browse/MIME4J-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995542#comment-12995542

Rohan Hart commented on MIME4J-164:

Hi Oleg

Fill the buffer and parse as much as possible.  Take what remains and fill the rest of the
buffer with as much of the remaining address field as will fit.  Parse and repeat.

I did have a subsequent email conversation with Stefano (see http://www.mail-archive.com/mime4j-dev@james.apache.org/msg00878.html)
where it seemed that the best option was to make fields in general have a String header and
InputStream (rather than fixed buffer) body.


> Incremental address list field parsing
> --------------------------------------
>                 Key: MIME4J-164
>                 URL: https://issues.apache.org/jira/browse/MIME4J-164
>             Project: JAMES Mime4j
>          Issue Type: Improvement
>    Affects Versions: 0.6
>         Environment: Java 6
>            Reporter: Rohan Hart
>            Priority: Minor
>             Fix For: 0.7
> To avoid buffer limits it would be good for address list field parsing to interleave
reading the stream with parsing individual addresses.

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


View raw message