[Zlib-devel] problems with elinks and wireshark using zlib >= 1.2.3.5
Mark Adler
madler at alumni.caltech.edu
Fri Jan 29 14:07:07 EST 2010
Pierre,
Oops -- missed the version in the subject.
On Jan 29, 2010, at 8:36 AM, Pierre Schmitz wrote:
> "An error occurred while reading from the file
> "/tmp/wiresharkXXXXXX":Less data was read than expected"
Can you capture the temporary file?
> The elinks implementation is probably easier to read:
> http://repo.or.cz/w/elinks.git/blob/7b6a76da4b697174c2ede1abf8f93f031cdf44db:/src/encoding/gzip.c
I can't tell from this how the functions in gzip.c are used. What is there is just a trivial wrapper on the gzdopen, gzread, and gzclose functions. I don't think that there's a change to inflate that would affect the gzip_decode_buffer function. When you have the problem, I don't know if the gz* wrapper functions are being used, or if the gzip_decode_buffer function is being used.
Mark
More information about the Zlib-devel
mailing list