MaildirMessage should only open a InputStream if the content is really needed
-----------------------------------------------------------------------------

                 Key: IMAP-227
                 URL: https://issues.apache.org/jira/browse/IMAP-227
             Project: JAMES Imap
          Issue Type: Improvement
          Components: Maildir Mailbox
    Affects Versions: 0.2-M1, 0.1
            Reporter: Norman Maurer
             Fix For: 0.2


At the moment the MaildirMessage get an InputStream for the content as 
constructor argument. So you need to construct one even if you not need the 
content at all. This leads to an open filehandle which in theory can hit the 
max open file limit. So we should only create one if really needed

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to