🦄 refactor(rename plug mgr api): session plug register with hooks

This commit is contained in:
yangwei
2024-09-04 15:26:15 +08:00
parent 95581a437e
commit 5373efdbff
7 changed files with 21 additions and 21 deletions

View File

@@ -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_hook(st, httpd_session_ctx_new_cb,
httpd_env->plugin_id = stellar_session_plugin_register_with_hooks(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)
{