This commit is contained in:
catfoolyou 2025-02-24 17:07:09 -05:00
parent afda45a8e2
commit 58e6e77d84
1 changed files with 2 additions and 0 deletions

View File

@ -63,7 +63,9 @@ public class WebSocketProxy extends SimpleChannelInboundHandler<ByteBuf> {
public boolean connect() { public boolean connect() {
System.out.println("[WebsocketProxy] - connecting (?)"); System.out.println("[WebsocketProxy] - connecting (?)");
try { try {
System.out.println("trying to connect");
if(tcpChannel == null) { if(tcpChannel == null) {
System.out.println("tcp channel is null, probly doing websocket shit (I'm too retarded to understand this)");
Bootstrap clientBootstrap = new Bootstrap(); Bootstrap clientBootstrap = new Bootstrap();
clientBootstrap.group(group); clientBootstrap.group(group);
clientBootstrap.channel(NioSocketChannel.class); clientBootstrap.channel(NioSocketChannel.class);