From 220a95aece0b54489c2ecefc4179134f2b5dfcc5 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 10 Oct 2013 07:25:20 +1100 Subject: [PATCH] We cannot throttle like this if we want 1.7 compat, lets disable it until we work on a more compatible one. --- proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java b/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java index 4ea8edd0..f37d9951 100644 --- a/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java +++ b/proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java @@ -30,8 +30,9 @@ public class PipelineUtils { if ( BungeeCord.getInstance().getConnectionThrottle().throttle( ( (InetSocketAddress) ch.remoteAddress() ).getAddress() ) ) { - ch.close(); - return; + // TODO: Better throttle - we can't throttle this way if we want to maintain 1.7 compat! + // ch.close(); + // return; } BASE.initChannel( ch );