summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-09-04 20:46:18 +0800
committeryangwei <[email protected]>2024-09-05 15:28:43 +0800
commit6e0b13f3d6829e3418705e0e0a2f660a65099aad (patch)
tree60e1f221613e45b59aea687b40cec3d2a609cfe5 /decoders
parent5373efdbff046d39648da883ada96a6e0a68a9a5 (diff)
Refactor(plug_mgr API): remove session_ctx, provide stellar_mq
Diffstat (limited to 'decoders')
-rw-r--r--decoders/http/http_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/http/http_decoder.c b/decoders/http/http_decoder.c
index b65599f..10f8369 100644
--- a/decoders/http/http_decoder.c
+++ b/decoders/http/http_decoder.c
@@ -878,7 +878,7 @@ static void http_decoder_on_session_free(struct session *sess,void *per_session_
goto failed;
}
httpd_env->st = st;
- httpd_env->plugin_id = stellar_session_plugin_register_with_hooks(st, httpd_session_ctx_new_cb,
+ httpd_env->plugin_id = stellar_plugin_register(st, httpd_session_ctx_new_cb,
httpd_session_ctx_free_cb, NULL,http_decoder_on_session_free,(void *)httpd_env);
if (httpd_env->plugin_id < 0)
{