OpenSearch/core
Tim Brooks 90a5574c93 Add CompressibleBytesOutputStream for compression (#24927)
This is a follow-up to #23941. Currently there are a number of
complexities related to compression. The raw DeflaterOutputStream must
be closed prior to sending bytes to ensure that EOS bytes are written.
But the underlying ReleasableBytesStreamOutput cannot be closed until
the bytes are sent to ensure that the bytes are not reused.

Right now we have three different stream references hanging around in
TCPTransport to handle this complexity. This commit introduces
CompressibleBytesOutputStream to be one stream implemenation that will
behave properly with or without compression enabled.
2017-05-31 11:00:40 -05:00
..
licenses Upgrade to lucene-7.0.0-snapshot-a0aef2f 2017-05-19 10:20:55 -05:00
src Add CompressibleBytesOutputStream for compression (#24927) 2017-05-31 11:00:40 -05:00
build.gradle Remove the need for _UNRELEASED suffix in versions (#24798) 2017-05-26 18:36:32 -04:00