summaryrefslogtreecommitdiff
path: root/test/http_test_plug.cpp
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-03-20 17:11:39 +0800
committerlijia <[email protected]>2024-03-22 09:11:49 +0800
commitb0df6e0c2846300ac15673a19fc10ce5fd409153 (patch)
tree239bee509e44769a9c026998dfabba3fce806d16 /test/http_test_plug.cpp
parent0ddf0cd934dd0ad9ec742790e6aeb4980bcdb64e (diff)
feat: obsolete libdocanalyze, use zlib to decompress http payload.v2.1.1obsolete-docanalyze-use-zlib
Diffstat (limited to 'test/http_test_plug.cpp')
-rw-r--r--test/http_test_plug.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/http_test_plug.cpp b/test/http_test_plug.cpp
index 3e1435e..f088c33 100644
--- a/test/http_test_plug.cpp
+++ b/test/http_test_plug.cpp
@@ -161,7 +161,8 @@ extern "C" unsigned char HTTP_TEST_PLUG_ENTRY(stSessionInfo *session_info, void
extern "C" int HTTP_TEST_PLUG_INIT()
{
- return 0;
+ MESA_load_profile_int_def("./conf/http/http_test_plug.conf", "main", "dump_unzip_payload", &g_dump_unzip_payload, 0);
+ return 0;
}
extern "C" void HTTP_TEST_PLUG_DESTROY(void)