mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-16 18:35:05 +08:00
【fix】 bug fix
This commit is contained in:
@ -61,7 +61,7 @@ public class ServerHandleHttpReportClientProxyClientConnectTransferTypeAdvanced
|
||||
// 让客户端主动创建一个数据传输通道
|
||||
loadBalance.writeAndFlush(clientConnectTagetNettyProxyMsg);
|
||||
}else {
|
||||
log.error("can not find the client:【】 channel",clientId);
|
||||
log.error("can not find target client:【】 channel",clientId);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -38,9 +38,10 @@ public class ServerHandleHttpReportClientProxyClientTransferResponseTypeAdvanced
|
||||
// 将返回数据下发客户端
|
||||
Channel transferNextChannel = ChannelAttributeKeyUtils.getTransferNextChannel(transferChannel);
|
||||
|
||||
if(ObjectUtils.isNotEmpty(nettyProxyMsg)) {
|
||||
|
||||
if(ObjectUtils.isNotEmpty(transferNextChannel)) {
|
||||
transferNextChannel.writeAndFlush(nettyProxyMsg);
|
||||
}else {
|
||||
log.error("无法将数据下发给原始客户端");
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user