diff options
author | Stefano <[email protected]> | 2024-09-27 18:19:29 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-27 18:19:29 +0200 |
commit | 627cc64eeaa37fe93a3b3f4d6cec3a7374e957bb (patch) | |
tree | c32a31ab1ba925a10903c6cbf20ad43738c8f551 /patches/server/0996-Use-Velocity-compression-and-cipher-natives.patch | |
parent | 20ec62255da0374efed5026600321f715ad94282 (diff) | |
download | Paper-627cc64eeaa37fe93a3b3f4d6cec3a7374e957bb.tar.gz Paper-627cc64eeaa37fe93a3b3f4d6cec3a7374e957bb.zip |
Adjust HAProxy's existance to log for console masters (#11433)
Diffstat (limited to 'patches/server/0996-Use-Velocity-compression-and-cipher-natives.patch')
-rw-r--r-- | patches/server/0996-Use-Velocity-compression-and-cipher-natives.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0996-Use-Velocity-compression-and-cipher-natives.patch b/patches/server/0996-Use-Velocity-compression-and-cipher-natives.patch index bfac334a58..5b7853e7ff 100644 --- a/patches/server/0996-Use-Velocity-compression-and-cipher-natives.patch +++ b/patches/server/0996-Use-Velocity-compression-and-cipher-natives.patch @@ -336,12 +336,12 @@ index 7dc7aeb1d94d26cf54bd4e4ab13972a3a60c1f98..90a2c61c42cba7e38f167eccdd7a951a this.channel.pipeline().fireUserEventTriggered(io.papermc.paper.network.ConnectionEvent.COMPRESSION_THRESHOLD_SET); // Paper - Add Channel initialization listeners } else { diff --git a/src/main/java/net/minecraft/server/network/ServerConnectionListener.java b/src/main/java/net/minecraft/server/network/ServerConnectionListener.java -index 2929d9a2efa9669781b6773161db7c5f968c2544..8aff5129f85ab5729b3da2e465871be62d15bdf2 100644 +index 4abe4f75956e4c16f8b4e0b2f77ad64d7914aa65..3a9e25b436f366fffe08c3b0c1fce11ed42ee646 100644 --- a/src/main/java/net/minecraft/server/network/ServerConnectionListener.java +++ b/src/main/java/net/minecraft/server/network/ServerConnectionListener.java -@@ -106,6 +106,11 @@ public class ServerConnectionListener { - ServerConnectionListener.LOGGER.info("Using default channel type"); +@@ -112,6 +112,11 @@ public class ServerConnectionListener { } + // Paper end - Warn people with console access that HAProxy is in use. + // Paper start - Use Velocity cipher + ServerConnectionListener.LOGGER.info("Paper: Using " + com.velocitypowered.natives.util.Natives.compress.getLoadedVariant() + " compression from Velocity."); |