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



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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to