tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1932) InputStreamLeak in HttpResponseImpl
Date Tue, 13 Sep 2016 14:30:21 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487345#comment-15487345
] 

Romain Manni-Bucau commented on TOMEE-1932:
-------------------------------------------

this one would need:

1. a unit test with GET and POST at least
2. 1. running with all Connection we have (see ConnectionFactory) (= socket, http, ...) -
a JUnit @Parameterized is the way to do it

Idea is to ensure pooling is not broken cause you close the stream now

> InputStreamLeak in HttpResponseImpl
> -----------------------------------
>
>                 Key: TOMEE-1932
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1932
>             Project: TomEE
>          Issue Type: Bug
>            Reporter: Svetlin Zarev
>            Priority: Trivial
>
> The content.getInputStream() is never closed. Seems irrelevant, because a quick grep
didn;t find any use for the content UrlConnection, but still let's be on the safe side.
> Patch provided via github pull request



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message