[
https://issues.apache.org/jira/browse/SOLR-11001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Braun updated SOLR-11001:
---------------------------------
Flags: Patch
> Decompressing entities should respect isRepeatable
> --------------------------------------------------
>
> Key: SOLR-11001
> URL: https://issues.apache.org/jira/browse/SOLR-11001
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ
> Reporter: Michael Braun
> Priority: Minor
> Attachments: SOLR-11001.patch
>
>
> Per the Httpclient library, isRepeatable:
> {code}
> /**
> * Tells if the entity is capable of producing its data more than once.
> * A repeatable entity's getContent() and writeTo(OutputStream) methods
> * can be called more than once whereas a non-repeatable entity's can not.
> * @return true if the entity is repeatable, false otherwise.
> */
> {code}
> The current decompressing entities do not respect this and will create a new
> GZIPInputStream/DeflateInputStream every time even if the wrappedEntity is
> not repeatable.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]