Skip to content

Commit 51e5314

Browse files
committed
Close UDP channel whenever QUIC connection is closed
1 parent b8ada35 commit 51e5314

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/nethergames/proxytransport/integration/QuicTransportServerInfo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public void channelActive(ChannelHandlerContext ctx) throws Exception {
115115
QuicChannel quicChannel = quicChannelFuture.getNow();
116116
quicChannel.closeFuture().addListener(f -> {
117117
logger.debug("Connection to " + address + " for " + this.getServerName() + " server closed");
118+
channelFuture.channel().close();
118119
this.serverConnections.remove(address);
119120
});
120121

0 commit comments

Comments
 (0)