【fix】error

This commit is contained in:
wujiawei
2025-05-08 09:47:44 +08:00
parent 68f4c92366
commit 32c757ef5e
2 changed files with 6 additions and 11 deletions

View File

@ -42,9 +42,6 @@ public class ClientHandleSocksDistributeServerProxyClientConnectionInitTypeAdvan
String targetIp = nettyProxyMsg.getTargetIpString();
Integer targetPort = Integer.parseInt(nettyProxyMsg.getTargetPortString());
byte[] data = nettyProxyMsg.getData();
byte socks5AddressType = data[0];
List<HandleChannelTypeAdvanced> handleChannelTypeAdvancedList = new ArrayList<>(SpringContextHolder.getApplicationContext().getBeansOfType(HandleChannelTypeAdvanced.class).values());
NettyClientProperties nettyClientProperties = SpringContextHolder.getBean(NettyClientProperties.class);
@ -57,7 +54,6 @@ public class ClientHandleSocksDistributeServerProxyClientConnectionInitTypeAdvan
nettySocksClientProxyClient.setTargetPort(targetPort);
ChannelAttributeKeyUtils.buildVisitorId(channel, visitorId);
ChannelAttributeKeyUtils.buildSocks5AddressType(channel,socks5AddressType);
// 创建真实通道
NettySocksServerProxyClientRealSocket.buildRealServer(