From a986ff484dd0ced1f33293cdd1eafde75e559c9c Mon Sep 17 00:00:00 2001 From: azw Date: Tue, 25 Apr 2023 03:50:08 +0000 Subject: [PATCH] 1 --- server/wsproxy/jsondatamgr.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/server/wsproxy/jsondatamgr.cc b/server/wsproxy/jsondatamgr.cc index 6a3878e..bab74b7 100644 --- a/server/wsproxy/jsondatamgr.cc +++ b/server/wsproxy/jsondatamgr.cc @@ -3,6 +3,7 @@ #include #include +#include #include "jsondatamgr.h" #include "app.h" @@ -57,6 +58,24 @@ void JsonDataMgr::Init() kcp_conf_.rx_minrto = kcp_conf_json_.At("rx_minrto")->AsXValue(); kcp_conf_.fastresend = kcp_conf_json_.At("fastresend")->AsXValue(); + + f8::UdpLog::Instance()->Info + (" kcp_conf sndwnd:%d rcvwnd:%d " + "nodelay:%d interval:%d resend:%d nc:%d " + "rx_minrto:%d fastresend:%d", + { + kcp_conf_.sndwnd, + kcp_conf_.rcvwnd, + + kcp_conf_.nodelay, + kcp_conf_.interval, + kcp_conf_.resend, + kcp_conf_.nc, + + kcp_conf_.rx_minrto, + kcp_conf_.fastresend + }); + } }