SIP MIME body Content-Encoding (GZIP) Decode not working
Summary
Not able to decode encoded SIP MIME content with content-encoding as GZIP (Working fine when only 1 content body in payload, but not working when multipart/mixed with boundary separated multiple contents with any of those content encoded with GZIP.)
Steps to reproduce
Send any SIP Request with boundary separated contents as part of multipart/mixed content. In one of the content, add content-encoding header with value as GZIP & encode the content as GZIP While viewing in Wireshark, it doesn't decode GZIP for that MIME body. Works fine when there is no multipart/mixed but only one content in the entire body which is encoded as GZIP
What is the current bug behavior?
While viewing in Wireshark, it doesn't decode GZIP for that particular MIME body which has content-encoding as GZIP
What is the expected correct behavior?
It should decode GZIP content based on Content-Encoding field per MIME body.
Sample capture file
Relevant logs and/or screenshots
(Paste any relevant logs here)
(Paste any relevant screenshots here)
Build information
3.4.6 (v3.4.6-0-g6357ac1405b8)
Compiled (64-bit) with Qt 5.15.2, with libpcap, with GLib 2.52.3, with zlib
1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4, with GnuTLS 3.6.3
and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB
resolver, with nghttp2 1.39.2, with brotli, with LZ4, with Zstandard, with
Snappy, with libxml2 2.9.9, with QtMultimedia, with automatic updates using
WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled resampler), with
Minizip.
Running on 64-bit Windows 8.1, build 9600, with Intel(R) Core(TM) i7-5500U CPU @
2.40GHz (with SSE4.2), with 16269 MB of physical memory, with locale C, with
light display mode, without HiDPI, without Npcap or WinPcap, with GnuTLS 3.6.3,
with Gcrypt 1.8.3, with brotli 1.0.2, without AirPcap, binary plugins supported
(21 loaded).
Built using Microsoft Visual Studio 2019 (VC++ 14.28, build 29910).