mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-06 13:27:55 +08:00
【fix】
This commit is contained in:
parent
240de53888
commit
810579178f
@ -33,7 +33,7 @@ public class ClientHandleDistributeClientTransferClientRequestTypeAdvanced exten
|
||||
// 把数据转到真实服务
|
||||
ByteBuf buf = channel.config().getAllocator().buffer(nettyProxyMsg.getData().length);
|
||||
buf.writeBytes(nettyProxyMsg.getData());
|
||||
log.info("client permeate client send request to real socket byte:{} ",new String(nettyProxyMsg.getData()));
|
||||
log.debug("client permeate client send request to real socket byte:{} ",new String(nettyProxyMsg.getData()));
|
||||
nextChannel.writeAndFlush(buf);
|
||||
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ public class NettyServerHandler extends SimpleChannelInboundHandler<NettyProxyMs
|
||||
|
||||
if (!ObjectUtils.isEmpty(visitorId)) {
|
||||
// 客户端:{},断开访客的连接:{}
|
||||
log.warn("Client: {}, disconnect guest:{}", clientId, visitorId);
|
||||
log.warn("Client: {}, disconnect with visitorId:{}", clientId, visitorId);
|
||||
// 访客通道 关闭访客通道
|
||||
NettyCommunicationIdContext.clear(visitorId);
|
||||
// 关闭通信通道
|
||||
|
Loading…
x
Reference in New Issue
Block a user