[ 
https://issues.apache.org/jira/browse/ABDERA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754053#action_12754053
 ] 

Daniel Lichtenberger commented on ABDERA-248:
---------------------------------------------

Well, the client in my case is the AbderaServlet calling 
context.writeTo(response.getOutputStream()), and AbderaServlet doesn't know 
about any wrapped streams in the ResponseContext.

I'm not familiar with the Abdera source code, so I don't know whether 
ResponseContext#writeTo should always close the input stream or the caller 
(AbderaServlet) should call a close method on the ResponseContext to allow 
releasing resources at the end of a request.

> MediaResponseContext#writeTo fails to close input stream after writing
> ----------------------------------------------------------------------
>
>                 Key: ABDERA-248
>                 URL: https://issues.apache.org/jira/browse/ABDERA-248
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Daniel Lichtenberger
>
> MediaResponseContext#writeTo fully consumes the input stream, but does not 
> close it afterwards. Looking at the source, I also didn't find another place 
> where the input stream was closed, potentially leaving an open input stream 
> for every media response.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to