We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11026e commit cc2eca5Copy full SHA for cc2eca5
src/main/java/me/ayunami2000/ayunViaProxyEagUtils/Main.java
@@ -99,7 +99,7 @@ public void onEvent(final Proxy2ServerChannelInitializeEvent event) throws URISy
99
c2p.attr(secureWs).set(true);
100
}
101
102
- if (c2p.hasAttr(secureWs)) {
+ if (c2p.hasAttr(secureWs) && c2p.attr(secureWs).get() != null) {
103
doWsServerStuff(ch, proxyConnection, c2p, addr);
104
if (!event.isLegacyPassthrough()) {
105
ch.pipeline().addFirst("handshake-waiter", new ChannelOutboundHandlerAdapter() {
0 commit comments