From 411f778c8f1afdc1f96f65a00ba08fee73ce522e Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 24 八月 2023 10:53:57 +0800
Subject: [PATCH] update funasr-wss-client
---
funasr/runtime/websocket/funasr-wss-client.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/funasr/runtime/websocket/funasr-wss-client.cpp b/funasr/runtime/websocket/funasr-wss-client.cpp
index 3c2baf5..ec61c41 100644
--- a/funasr/runtime/websocket/funasr-wss-client.cpp
+++ b/funasr/runtime/websocket/funasr-wss-client.cpp
@@ -108,10 +108,10 @@
case websocketpp::frame::opcode::text:
total_recv=total_recv+1;
LOG(INFO)<< "Thread: " << this_thread::get_id() <<",on_message = " << payload;
- LOG(INFO) << "total_recv=" << total_recv << " total_send=" <<total_send;
+ LOG(INFO)<< "Thread: " << this_thread::get_id() << "total_recv=" << total_recv << " total_send=" <<total_send;
if(total_recv==total_send)
{
- LOG(INFO) << "close client";
+ LOG(INFO)<< "Thread: " << this_thread::get_id() << "close client";
websocketpp::lib::error_code ec;
m_client.close(m_hdl, websocketpp::close::status::going_away, "", ec);
if (ec){
--
Gitblit v1.9.1