summaryrefslogtreecommitdiff
path: root/src/HTTP_Analyze.c
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 /src/HTTP_Analyze.c
parent0ddf0cd934dd0ad9ec742790e6aeb4980bcdb64e (diff)
feat: obsolete libdocanalyze, use zlib to decompress http payload.v2.1.1obsolete-docanalyze-use-zlib
Diffstat (limited to 'src/HTTP_Analyze.c')
-rw-r--r--src/HTTP_Analyze.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/HTTP_Analyze.c b/src/HTTP_Analyze.c
index af07f72..98c81bb 100644
--- a/src/HTTP_Analyze.c
+++ b/src/HTTP_Analyze.c
@@ -691,7 +691,10 @@ void http_releaseHttpLinkNode(http_stream *a_http_stream,struct streaminfo *a_tc
if(cur_node->ungzip_handle!=NULL)
{
- docanalyze_endstream(cur_node->ungzip_handle);
+ //docanalyze_endstream(cur_node->ungzip_handle);
+ inflateEnd(cur_node->ungzip_handle);
+ dictator_free(thread_seq, cur_node->ungzip_handle);
+ cur_node->ungzip_handle = NULL;
}
if(cur_node->parser.cont_range!=NULL)
{
@@ -1133,7 +1136,7 @@ uchar http_analyseHttpConnection(http_stream* a_http_stream,struct streaminfo *a
#endif
*/
- //��Ϣ�����?
+ //��Ϣ�����?
/*set mgs_status because cur_http_node maybe release*/
uchar mgs_status = HTTP_RETURN_GIVEME;
rec = http_findAndDoWithEntity(&mgs_status, cur_http_node, a_http_stream, a_tcp, thread_seq, a_packet);