diff --git a/components/security_apps/waap/waap_clib/Waf2Util.cc b/components/security_apps/waap/waap_clib/Waf2Util.cc index ea49714..11d6684 100755 --- a/components/security_apps/waap/waap_clib/Waf2Util.cc +++ b/components/security_apps/waap/waap_clib/Waf2Util.cc @@ -1917,6 +1917,9 @@ isGzipped(const string &stream) { if (stream.size() < 2) return false; auto unsinged_stream = reinterpret_cast(stream.data()); + dbgTrace(D_WAAP) << "isGzipped: first two bytes: " + << std::hex << static_cast(unsinged_stream[0]) << " " + << std::hex << static_cast(unsinged_stream[1]); return unsinged_stream[0] == 0x1f && unsinged_stream[1] == 0x8b; }