Ethereal-dev: RE: [Ethereal-dev] HTTP gzip/deflate decompression patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Wed, 5 May 2004 09:52:55 +0200
Hello Jerry,

I checked in your patches.

The situation "Content-Encoding without Transfer-Encoding" is not
implemented yet in the HTTP dissector, as I could see from a capture I have.

Regards,

Olivier

|-----Original Message-----
|From: Jerry Talkington
|
|
|Howdy!
|  
|Here's a patch to enable decompression of gzip/deflate Content-Encoded
|HTTP entity bodies.  I've also added options for disabling de-chunking
|and decompression.
|
|I also implemented a tvb_uncompress() function.  I was 
|originally going to
|yank the code from the packet-slsk.c, but that could have led to some
|unnecessarily large (10 * the compressed size) buffers.  I didn't
|convert and remove the Soul Seek uncompress functions, because I
|couldn't test it.
|
|However, the new code should handle those (and I'm not even
|sure that the current code will actually do decompression, based on all
|of the workarounds that had to be implemented to get the new stuff to
|work across library version numbers.)  If someone submits a 
|capture with those packets, I'll convert them over.