diff --git a/proxy/src/main/java/net/md_5/bungee/http/HttpHandler.java b/proxy/src/main/java/net/md_5/bungee/http/HttpHandler.java index 596ced713..a1e59b47a 100644 --- a/proxy/src/main/java/net/md_5/bungee/http/HttpHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/http/HttpHandler.java @@ -26,6 +26,7 @@ public class HttpHandler extends SimpleChannelInboundHandler callback.done( null, cause ); } finally { + ctx.channel().pipeline().remove( this ); ctx.channel().close(); } } @@ -68,6 +69,7 @@ public class HttpHandler extends SimpleChannelInboundHandler callback.done( buffer.toString(), null ); } finally { + ctx.channel().pipeline().remove( this ); ctx.channel().close(); } }