You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Philip Helger (JIRA)" <ji...@apache.org> on 2011/04/11 19:23:05 UTC
[jira] [Created] (HTTPCLIENT-1078) DecompressingEntity not calling
close on InputStream retrieved by getContent
DecompressingEntity not calling close on InputStream retrieved by getContent
----------------------------------------------------------------------------
Key: HTTPCLIENT-1078
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1078
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient
Affects Versions: 4.1.1
Reporter: Philip Helger
The method DecompressingEntity.writeTo(OutputStream outstream) does not close the InputStream retrieved by getContent().
According to the documentation of HttpEntity.writeTo:
IMPORTANT: Please note all entity implementations must ensure that
all allocated resources are properly deallocated when this method
returns.
-> imho this is not satisfied in DecompressingEntity.writeTo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] [Resolved] (HTTPCLIENT-1078) DecompressingEntity not calling
close on InputStream retrieved by getContent
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-1078.
-------------------------------------------
Resolution: Fixed
Fixed in SVN trunk and 4.1.x branch. Please review / re-test.
Oleg
> DecompressingEntity not calling close on InputStream retrieved by getContent
> ----------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1078
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1078
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.1.1
> Reporter: Philip Helger
>
> The method DecompressingEntity.writeTo(OutputStream outstream) does not close the InputStream retrieved by getContent().
> According to the documentation of HttpEntity.writeTo:
> IMPORTANT: Please note all entity implementations must ensure that
> all allocated resources are properly deallocated when this method
> returns.
> -> imho this is not satisfied in DecompressingEntity.writeTo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] [Closed] (HTTPCLIENT-1078) DecompressingEntity not calling
close on InputStream retrieved by getContent
Posted by "Philip Helger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philip Helger closed HTTPCLIENT-1078.
-------------------------------------
> DecompressingEntity not calling close on InputStream retrieved by getContent
> ----------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1078
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1078
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.1.1
> Reporter: Philip Helger
>
> The method DecompressingEntity.writeTo(OutputStream outstream) does not close the InputStream retrieved by getContent().
> According to the documentation of HttpEntity.writeTo:
> IMPORTANT: Please note all entity implementations must ensure that
> all allocated resources are properly deallocated when this method
> returns.
> -> imho this is not satisfied in DecompressingEntity.writeTo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] [Updated] (HTTPCLIENT-1078) DecompressingEntity not calling
close on InputStream retrieved by getContent
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski updated HTTPCLIENT-1078:
------------------------------------------
Fix Version/s: 4.1.2
> DecompressingEntity not calling close on InputStream retrieved by getContent
> ----------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1078
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1078
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.1.1
> Reporter: Philip Helger
> Fix For: 4.1.2
>
>
> The method DecompressingEntity.writeTo(OutputStream outstream) does not close the InputStream retrieved by getContent().
> According to the documentation of HttpEntity.writeTo:
> IMPORTANT: Please note all entity implementations must ensure that
> all allocated resources are properly deallocated when this method
> returns.
> -> imho this is not satisfied in DecompressingEntity.writeTo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org