Skip to content

Commit

Permalink
Close UDP channel whenever QUIC connection is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
dries-c committed May 4, 2024
1 parent b8ada35 commit 51e5314
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public void channelActive(ChannelHandlerContext ctx) throws Exception {
QuicChannel quicChannel = quicChannelFuture.getNow();
quicChannel.closeFuture().addListener(f -> {
logger.debug("Connection to " + address + " for " + this.getServerName() + " server closed");
channelFuture.channel().close();
this.serverConnections.remove(address);
});

Expand Down

0 comments on commit 51e5314

Please sign in to comment.