mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-06 21:37:56 +08:00
【fix】 bug fix
This commit is contained in:
parent
a5a3d7d6f2
commit
402f6f0ac1
@ -40,6 +40,8 @@ public class ClientHandleDistributeHttpClientProxyClientTransferRequestAdvanced
|
||||
ByteBuf buf = channel.config().getAllocator().buffer(nettyProxyMsg.getData().length);
|
||||
buf.writeBytes(nettyProxyMsg.getData());
|
||||
nextChannel.writeAndFlush(buf);
|
||||
}else {
|
||||
log.info("客户端代理到另一个客户端,发送请求到目标客户端但是未找到真实通道");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ public class NettyHttpClientProxyClientTransferRealHandler extends SimpleChannel
|
||||
String clientId = ChannelAttributeKeyUtils.getClientId(ctx.channel());
|
||||
String visitorId = ChannelAttributeKeyUtils.getVisitorId(ctx.channel());
|
||||
Channel nextChannel = ChannelAttributeKeyUtils.getNextChannel(ctx.channel());
|
||||
log.warn("close client permeate client transfer real clientId:{} visitorId:{}", clientId, visitorId);
|
||||
log.warn("close client proxy client transfer real clientId:{} visitorId:{}", clientId, visitorId);
|
||||
// 关闭访客
|
||||
if (nextChannel != null) {
|
||||
// 上报关闭这个客户端的访客通道
|
||||
|
Loading…
x
Reference in New Issue
Block a user