Uploaded image for project: 'James Imap'
  1. James Imap
  2. IMAP-333

FETCH 1 BODY[...] should not create a MimeDescriptorStructure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2.1
    • 0.3
    • Protocol
    • None

    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

      Attachments

        Activity

          People

            norman Norman Maurer
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: