Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.3.1
-
None
Description
Using "Transfer-Encoding: chunked" when underlying stream throws any exception, it shouldn't close stream, because closing stream means send final zero chunk and server side decide that all is well and consume all stream as correct data.
It's seems to me that solution: remove finally block, just close gzip stream after writeTo().
Attachments
Issue Links
- is duplicated by
-
HTTPCLIENT-1483 GzipCompressingEntity shouldn't close outputstream in final block
- Closed