mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2026-02-04 15:05:54 +08:00
【fix】客户端渗透客户端编码
This commit is contained in:
@@ -134,7 +134,7 @@ public class NettyClientPermeateClientRealSocket {
|
|||||||
future.addListener((ChannelFutureListener) futureListener -> {
|
future.addListener((ChannelFutureListener) futureListener -> {
|
||||||
Channel visitorChannel = futureListener.channel();
|
Channel visitorChannel = futureListener.channel();
|
||||||
if (futureListener.isSuccess()) {
|
if (futureListener.isSuccess()) {
|
||||||
|
realChannel.config().setOption(ChannelOption.AUTO_READ, true);
|
||||||
// 通知服务端访客连接成功
|
// 通知服务端访客连接成功
|
||||||
NettyProxyMsg nettyProxyMsg = new NettyProxyMsg();
|
NettyProxyMsg nettyProxyMsg = new NettyProxyMsg();
|
||||||
nettyProxyMsg.setVisitorId(visitorId);
|
nettyProxyMsg.setVisitorId(visitorId);
|
||||||
|
|||||||
Reference in New Issue
Block a user