#2599: Remove connection throttle if proxy protocol in use
This commit is contained in:
parent
0dd538f9ff
commit
1a06ebeee0
@ -306,6 +306,12 @@ public class BungeeCord extends ProxyServer
|
|||||||
if ( info.isProxyProtocol() )
|
if ( info.isProxyProtocol() )
|
||||||
{
|
{
|
||||||
getLogger().log( Level.WARNING, "Using PROXY protocol for listener {0}, please ensure this listener is adequately firewalled.", info.getHost() );
|
getLogger().log( Level.WARNING, "Using PROXY protocol for listener {0}, please ensure this listener is adequately firewalled.", info.getHost() );
|
||||||
|
|
||||||
|
if ( connectionThrottle != null )
|
||||||
|
{
|
||||||
|
connectionThrottle = null;
|
||||||
|
getLogger().log( Level.WARNING, "Since PROXY protocol is in use, internel connection throttle has been disabled." );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ChannelFutureListener listener = new ChannelFutureListener()
|
ChannelFutureListener listener = new ChannelFutureListener()
|
||||||
|
Loading…
Reference in New Issue
Block a user