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 2011/08/23 11:48:29 UTC

[jira] [Updated] (IMAP-333) FETCH 1 BODY[...] should not create a MimeDescriptorStructure

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

Norman Maurer updated IMAP-333:
-------------------------------

    Description: 
We don't need to generate a MimeDescriptorStructure if a client issue the following commands:

FETCH 1 BODY[....]
FETCH 1 BODY.PEEK[....]

The generation of such a MimeDescriptorStructure can be really heavy weight as it may need to parse the whole message content.  So its better to skip the generation of it whenever possible.

Its only needed for the following commands:

FETCH 1 BODY
FETCH 1 BODYSTRUCTURE



  was:
We don't need to generate a MimeDescriptorStructure if a client issue the following command:

FETCH 1 BODY[....]

The generation of such a MimeDescriptorStructure can be really heavy weight as it may need to parse the whole message content.  So its better to skip the generation of it whenever possible.

Its only needed for the following commands:

FETCH 1 BODY
FETCH 1 BODYSTRUCTURE




> FETCH 1 BODY[...] should not create a MimeDescriptorStructure
> -------------------------------------------------------------
>
>                 Key: IMAP-333
>                 URL: https://issues.apache.org/jira/browse/IMAP-333
>             Project: JAMES Imap
>          Issue Type: Improvement
>          Components: Protocol
>    Affects Versions: 0.2.1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.3
>
>
> We don't need to generate a MimeDescriptorStructure if a client issue the following commands:
> FETCH 1 BODY[....]
> FETCH 1 BODY.PEEK[....]
> The generation of such a MimeDescriptorStructure can be really heavy weight as it may need to parse the whole message content.  So its better to skip the generation of it whenever possible.
> Its only needed for the following commands:
> FETCH 1 BODY
> FETCH 1 BODYSTRUCTURE

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

        

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