hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Nioche (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1861) Skip consumption of entity for CloseableHTTTPClient
Date Thu, 06 Jul 2017 10:48:00 GMT
Julien Nioche created HTTPCLIENT-1861:
-----------------------------------------

             Summary: 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message