提交 6bda0528 authored 作者: Mike Jerris's avatar Mike Jerris

FS-9592: [mod_httapi] make sure to reset one time params when starting over in httapi app

上级 6b40391b
......@@ -2275,6 +2275,7 @@ SWITCH_STANDARD_APP(httapi_function)
}
if ((client = (client_t *) switch_channel_get_private(channel, "_HTTAPI_CLIENT_"))) {
client_reset(client);
if (params) {
switch_event_merge(client->params, params);
switch_event_destroy(&params);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论