OCT 1. 注释UDP转发多余打印
This commit is contained in:
parent
86d77c9ae9
commit
0cdad9225a
|
@ -144,13 +144,13 @@ static DWORD UDPProxyRecvThread(LPVOID lpParameter) {
|
||||||
pProxy->udpProxySock,
|
pProxy->udpProxySock,
|
||||||
ipAddr,
|
ipAddr,
|
||||||
ntohs(localWgAddr.sin_port));
|
ntohs(localWgAddr.sin_port));
|
||||||
|
#if 0
|
||||||
if (iRecvBytes >= (1450 - SCG_UDP_HEAD_SIZE)) {
|
if (iRecvBytes >= (1450 - SCG_UDP_HEAD_SIZE)) {
|
||||||
SPDLOG_WARN(TEXT("!Maybe MTU overflow: Current package {0} bytes, UDP MTU 1450, SCG Head Used {1} bytes"),
|
SPDLOG_WARN(TEXT("!Maybe MTU overflow: Current package {0} bytes, UDP MTU 1450, SCG Head Used {1} bytes"),
|
||||||
iRecvBytes,
|
iRecvBytes,
|
||||||
SCG_UDP_HEAD_SIZE);
|
SCG_UDP_HEAD_SIZE);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (iRecvBytes != SOCKET_ERROR) {
|
if (iRecvBytes != SOCKET_ERROR) {
|
||||||
int sendBytes;
|
int sendBytes;
|
||||||
const unsigned int id = htonl(GetGlobalCfgInfo()->curConnVmId);
|
const unsigned int id = htonl(GetGlobalCfgInfo()->curConnVmId);
|
||||||
|
|
Loading…
Reference in New Issue