summaryrefslogtreecommitdiff
path: root/test/http_decoder_perf_main.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 /test/http_decoder_perf_main.cpp
parent1c232f0176c43c93c3e787ac83f3573bf42c58f1 (diff)
add fieldstat4 statistics, push transaction free msg in session closing state.v2.0.3
Diffstat (limited to 'test/http_decoder_perf_main.cpp')
-rw-r--r--test/http_decoder_perf_main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/http_decoder_perf_main.cpp b/test/http_decoder_perf_main.cpp
index 1dd7734..5cfcf2c 100644
--- a/test/http_decoder_perf_main.cpp
+++ b/test/http_decoder_perf_main.cpp
@@ -106,6 +106,11 @@ void *session_exdata_get(struct session *sess, int idx)
return sess->exdata;
}
+enum session_state session_get_current_state(struct session *sess)
+{
+ return SESSION_STATE_ACTIVE;
+}
+
int stellar_session_mq_get_topic_id(struct stellar *st, const char *topic_name)
{
if(strcmp(topic_name, "HTTP_DECODER_MESSAGE") == 0){