From 7d6170a23027aff0ebf2e7832dc11e4bbdce57ea Mon Sep 17 00:00:00 2001 From: lijia Date: Thu, 6 Jun 2024 11:16:22 +0800 Subject: add fieldstat4 statistics, push transaction free msg in session closing state. --- src/http_decoder_table.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/http_decoder_table.cpp') diff --git a/src/http_decoder_table.cpp b/src/http_decoder_table.cpp index b11e1b9..d1fc6e9 100644 --- a/src/http_decoder_table.cpp +++ b/src/http_decoder_table.cpp @@ -526,4 +526,9 @@ void http_decoder_table_reset_header_complete(struct http_decoder_table *table) void http_decoder_table_update_commit_index(struct http_decoder_table *table) { table->commit_header_index = table->header_index; +} + +int http_decoder_table_get_total_parsed_header(struct http_decoder_table *table) +{ + return table->header_index; } \ No newline at end of file -- cgit v1.2.3