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

Julien Nioche commented on HTTPCLIENT-1861:
-------------------------------------------

Thanks [~olegk]

> Skip consumption of entity for CloseableHTTTPClient
> ---------------------------------------------------
>
>                 Key: HTTPCLIENT-1861
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1861
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (classic)
>    Affects Versions: 4.5.3
>            Reporter: Julien Nioche
>
> CloseableHTTTPClient calls EntityUtils.consume(entity) in the execute method, 
> however, this can be problematic when fetching endlessly streaming or very 
> large content e.g a URL points to a video stream or a ridiculously large file.
> EntityUtils.consume() returns if the entity is not streaming but 
> unfortunately there is no way to change the value - and also it's not its 
> purpose.
> It would be good to have a way of dealing with cases like these.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to