Ask Your Question

Revision history [back]

The dissector for websocket is here, maybe the function websocket_uncompress() helps.

Note that zlib is a "stream" compressor, you can't decompress a fragment in isolation, you need to have all fragments from the beginning of the stream. Some info on zlib operation can be found here.