Re: about gzip



On Jun 25, 9:54 am, tguclu <tugrul.gu...@xxxxxxxxx> wrote:
Here is the problem ,when gzip starts to compress the file another
thread is still appending new data to the file.

What is the behaviour of gzip at this stage ?(gzip version 1.3.5)

gzip will stop when it thinks it gets to the end of the input, which
is may be before the file is complete.

You should write your own gzip using zlib (easy to do), so that you
can write your own input collection routines that keep tailing off the
file until some signal that the file is complete.

Mark

.