From 43ad2c35634a3ed2a7a46bd7e3afd147934b1c48 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期二, 20 六月 2023 10:02:58 +0800
Subject: [PATCH] export

---
 funasr/runtime/websocket/funasr-wss-client.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/funasr/runtime/websocket/funasr-wss-client.cpp b/funasr/runtime/websocket/funasr-wss-client.cpp
index 4a3c751..8b59000 100644
--- a/funasr/runtime/websocket/funasr-wss-client.cpp
+++ b/funasr/runtime/websocket/funasr-wss-client.cpp
@@ -91,7 +91,6 @@
         using websocketpp::lib::placeholders::_1;
         m_client.set_open_handler(bind(&WebsocketClient::on_open, this, _1));
         m_client.set_close_handler(bind(&WebsocketClient::on_close, this, _1));
-        // m_client.set_close_handler(bind(&WebsocketClient::on_close, this, _1));
 
         m_client.set_message_handler(
             [this](websocketpp::connection_hdl hdl, message_ptr msg) {
@@ -218,7 +217,7 @@
                 }
             }
             if (wait) {
-                LOG(INFO) << "wait.." << m_open;
+                // LOG(INFO) << "wait.." << m_open;
                 WaitABit();
                 continue;
             }
@@ -292,7 +291,7 @@
                                        false, 1, "int");
     TCLAP::ValueArg<int> is_ssl_(
         "", "is-ssl", "is-ssl is 1 means use wss connection, or use ws connection", 
-        false, 0, "int");
+        false, 1, "int");
 
     cmd.add(server_ip_);
     cmd.add(port_);

--
Gitblit v1.9.1