Hi Sergey,
Great. I have verified the issue and fixed it (with a unit test) in
the trunk. The way the Apache HTTP client integrates resulted in the
close not being called for the adapted output stream. So the actual
fix is a one liner :-) no need for the client GZIP filter to call
finish, because closing finishes.
Paul.
On Apr 22, 2009, at 8:30 PM, Privalov, Sergey wrote:
> Hi Paul,
>
> Thank for the quick reply!
>
> I have tried with your fix and it does not work :(
> But I think you are right and problem is that
> GZIPOutputStream.finish is not called, because I have tried with the
> following hook and it is working:
>
> @Override
> public void flush() throws IOException {
> out.flush();
> out.finish();
> }
>
> So, looks like that problem in that GZIPOutputStream.close() is not
> called at all
>
> Best Regards,
> Sergey
>