Github user leventov commented on the issue:
https://github.com/apache/curator/pull/282
Because `GZIPInputStream` and `GZIPOutputStream` are more generic
mechanisms, they are able to compress / decompress arbitrary streams of data,
of unknown length, available only byte-by-byte, etc. Also, `GZIPInputStream` is
capable of decompressing series of GZipped sequences, following one after
another. In `GzipCompressionProvider`, the problem statement is much more
narrow: compress/decompress `byte[]`. When decompressing, the array is expected
to contain exactly one GZIP sequence.
---