【fix】客户端渗透客户端编码

This commit is contained in:
wujiawei 2024-09-21 01:12:52 +08:00
parent 2c139c9ae1
commit 9ae7a5715e

View File

@ -134,7 +134,7 @@ public class NettyClientPermeateClientRealSocket {
future.addListener((ChannelFutureListener) futureListener -> {
Channel visitorChannel = futureListener.channel();
if (futureListener.isSuccess()) {
realChannel.config().setOption(ChannelOption.AUTO_READ, true);
// 通知服务端访客连接成功
NettyProxyMsg nettyProxyMsg = new NettyProxyMsg();
nettyProxyMsg.setVisitorId(visitorId);