diff options
| author | lijia <[email protected]> | 2024-03-20 17:11:39 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-03-22 09:11:49 +0800 |
| commit | b0df6e0c2846300ac15673a19fc10ce5fd409153 (patch) | |
| tree | 239bee509e44769a9c026998dfabba3fce806d16 /src/HTTP_Analyze.c | |
| parent | 0ddf0cd934dd0ad9ec742790e6aeb4980bcdb64e (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.c | 7 |
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); |
