From b2ab45f70b547440a57ffa9330418dda846cd8a5 Mon Sep 17 00:00:00 2001 From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com> Date: 星期五, 11 八月 2023 15:39:23 +0800 Subject: [PATCH] use asio strand to keep the order of data (#838) --- funasr/runtime/websocket/websocket-server-2pass.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/funasr/runtime/websocket/websocket-server-2pass.h b/funasr/runtime/websocket/websocket-server-2pass.h index a705cfb..c4fbed3 100644 --- a/funasr/runtime/websocket/websocket-server-2pass.h +++ b/funasr/runtime/websocket/websocket-server-2pass.h @@ -58,7 +58,7 @@ FUNASR_HANDLE tpass_online_handle=NULL; std::string online_res = ""; std::string tpass_res = ""; - + std::shared_ptr<asio::io_context::strand> strand_; // for data execute in order } FUNASR_MESSAGE; // See https://wiki.mozilla.org/Security/Server_Side_TLS for more details about -- Gitblit v1.9.1