summaryrefslogtreecommitdiff
path: root/test/http_decoder_perf_main.cpp
diff options
context:
space:
mode:
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){