diff options
| author | yangwei <[email protected]> | 2024-09-04 20:46:18 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-09-05 15:28:43 +0800 |
| commit | 6e0b13f3d6829e3418705e0e0a2f660a65099aad (patch) | |
| tree | 60e1f221613e45b59aea687b40cec3d2a609cfe5 /decoders | |
| parent | 5373efdbff046d39648da883ada96a6e0a68a9a5 (diff) | |
Refactor(plug_mgr API): remove session_ctx, provide stellar_mq
Diffstat (limited to 'decoders')
| -rw-r--r-- | decoders/http/http_decoder.c | 2 |
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) { |
