summaryrefslogtreecommitdiff
path: root/src/http_decoder_table.cpp
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-06-06 11:16:22 +0800
committerlijia <[email protected]>2024-06-06 11:16:22 +0800
commit7d6170a23027aff0ebf2e7832dc11e4bbdce57ea (patch)
treeaf9caf24c274b561bc92f07f8db7c14b89c5e425 /src/http_decoder_table.cpp
parent1c232f0176c43c93c3e787ac83f3573bf42c58f1 (diff)
add fieldstat4 statistics, push transaction free msg in session closing state.v2.0.3
Diffstat (limited to 'src/http_decoder_table.cpp')
-rw-r--r--src/http_decoder_table.cpp5
1 files changed, 5 insertions, 0 deletions
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