From bad9553ec46ab2e88a595eb8bc09e91ce41f0f82 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sun, 24 Jan 2021 21:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1TcpServer=E4=B8=AA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpart/ZLToolKit | 2 +- server/WebApi.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/3rdpart/ZLToolKit b/3rdpart/ZLToolKit index 6a21c58f..57165f6d 160000 --- a/3rdpart/ZLToolKit +++ b/3rdpart/ZLToolKit @@ -1 +1 @@ -Subproject commit 6a21c58fa2e21416306c5a9cc88f943b882253e6 +Subproject commit 57165f6dd5291c1cf794cac531a58ec2f3016b8a diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 169cad41..10e444cf 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -1031,6 +1031,7 @@ void installWebApi() { val["data"]["MediaSource"] = (Json::UInt64)(ObjectStatistic::count()); val["data"]["MultiMediaSourceMuxer"] = (Json::UInt64)(ObjectStatistic::count()); + val["data"]["TcpServer"] = (Json::UInt64)(ObjectStatistic::count()); val["data"]["TcpSession"] = (Json::UInt64)(ObjectStatistic::count()); val["data"]["TcpClient"] = (Json::UInt64)(ObjectStatistic::count()); val["data"]["Socket"] = (Json::UInt64)(ObjectStatistic::count());