[ http://issues.apache.org/jira/browse/JAMES-430?page=all ]
     
Stefano Bagnara resolved JAMES-430:
-----------------------------------

    Fix Version: 2.3.0
     Resolution: Fixed

the method was moved to POP3Handler and fixed.
AbstractRedirect fixed too (try/catch/finally was in the wrong place)

> MailImpl#writeContentTo leaks thread
> ------------------------------------
>
>          Key: JAMES-430
>          URL: http://issues.apache.org/jira/browse/JAMES-430
>      Project: James
>         Type: Bug
>   Components: James Core
>     Versions: 2.2.0
>     Reporter: Matthias Ernst
>     Assignee: Stefano Bagnara
>      Fix For: 2.3.0

>
> MailImpl#writeContentTo(OutputStream, int) (used by POP3 TOP) does not close 
> the input stream acquired from its MimeMessage. MimeMessage#getInputStream is 
> a PipedInputStream and has a thread running on its behalf. Thus, MailImpl 
> leaks a thread per
> message TOPed.
> Fix:
> in = message.getInputStream();
> try {
>   ...
> } finally {
>   in.close
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
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