From ca0fc1336702f6121358888c82a32031b5665b0c Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 17 Sep 2019 10:11:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_wsServer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_wsServer.cpp b/tests/test_wsServer.cpp index 5d7a5362..12891889 100644 --- a/tests/test_wsServer.cpp +++ b/tests/test_wsServer.cpp @@ -77,6 +77,8 @@ int main(int argc, char *argv[]) { //https服务器,支持websocket httpsSrv->start>(443);//默认443 + DebugL << "请打开网页:http://www.websocket-test.com/,连接 ws://127.0.0.1/测试"; + //设置退出信号处理函数 static semaphore sem; signal(SIGINT, [](int) { sem.post(); });// 设置退出信号