3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 13:30:17 +01:00
Commit graph

1743 Commits

Autor SHA1 Nachricht Datum
Andrew Steinborn
4df8f70156 Rename proxy-protocol setting to haproxy-protocol to make it clearer this is for HAProxy. 2021-01-06 13:29:30 -05:00
Andrew Steinborn
1f9c24566d Fix off-by-one error in MinecraftCompressEncoder 2020-12-31 13:18:01 -05:00
Andrew Steinborn
42d211bf08 Velocity 1.1.4-SNAPSHOT 2020-12-29 18:07:14 -05:00
Andrew Steinborn
44046fe772 Velocity 1.1.3 2020-12-29 18:06:46 -05:00
Andrew Steinborn
dc7ab0f7f5 Log server backpressure 2020-12-27 18:36:54 -05:00
Andrew Steinborn
2a1e83902d Add support for server-side backpressure 2020-12-27 18:05:27 -05:00
Andrew Steinborn
7329d165f6 2021 2020-12-26 21:56:19 -05:00
Andrew Steinborn
6a8ec21f26 Use a different quiet exception type to indicate the user should enable a debugging flag if needed 2020-12-26 20:59:17 -05:00
Andrew Steinborn
f6078e9b74 Fix several problems and clean up the BungeeCord plugin messaging support.
Fixes #402
2020-12-26 20:52:12 -05:00
Andrew Steinborn
b1f7980c5d Fix ForwardToPlayer subchannel, closes #406 2020-12-26 19:49:28 -05:00
Andrew Steinborn
7fe2fc71e9 Add some small debug for refcount issues with plugin messages. 2020-12-25 17:03:38 -05:00
Andrew Steinborn
07b95d46ac Delay sending stats to bStats for 3-5 minutes after server startup 2020-12-21 20:14:57 -05:00
Andrew Steinborn
eb3868d911 Do not try to override colors in messages or server-sent messages 2020-12-21 19:56:17 -05:00
Andrew Steinborn
8543971a94
Merge pull request #404 from Cybermaxke/dev/event-improvements
Some more improvements to event tasks.
2020-12-21 15:20:27 -05:00
Andrew Steinborn
ce34a8c1b5
Merge pull request #405 from zml2008/fix/jd-search
build: Fix search when generating Javadoc with broken java versions
2020-12-21 15:19:10 -05:00
Andrew Steinborn
98b74fd220 Correctly retain message buffer for LoginPluginMessage.
Fixes #407
2020-12-21 13:14:38 -05:00
Andrew Steinborn
b24f8eaf19 Update Netty version 2020-12-20 15:05:26 -05:00
Zach Levis
bac64ac958 build: Fix search when generating Javadoc with broken java versions 2020-12-19 14:49:53 -08:00
Andrew Steinborn
9c375f337b Bump to Netty 4.1.56.Final 2020-12-17 21:16:46 -05:00
Seppe Volkaerts
c85be1a88f Improve continuation error handling. 2020-12-15 23:08:53 +01:00
Seppe Volkaerts
e1d21c0c27 Reduce some context switches if a continuation is resumed during the event task.
When a continuation was called during the execution of an event task, and not from an asynchronous thread, continue on the thread where the event task was executed instead of scheduling an async task to do it later. Can happen when resuming because no async work needed to be done, and for some reason returning a null EventTask isn't an option.
2020-12-15 22:59:11 +01:00
Andrew Steinborn
1b551a8e1c
Merge pull request #384 from Cybermaxke/dev/events
Implement async event tasks.
2020-12-15 08:15:16 -05:00
Seppe Volkaerts
2705eba553 Small cleanup. 2020-12-15 14:00:10 +01:00
Seppe Volkaerts
d0a61e8704 Update java version. Switch to caffeine cache to allow null values. 2020-12-15 13:05:32 +01:00
Seppe Volkaerts
b04d5de141 Implement async event tasks.
Events will now only be handled by an async executor if necessary. This should improve performance for lightweight listeners.
2020-12-15 12:48:32 +01:00
Andrew Steinborn
523b61e0c7 Make sure unit tests actually run(!) and fix command hints 2020-12-14 14:39:39 -05:00
Andrew Steinborn
58294595f3 Fix unit tests and correct several issues with hinting.
The packet registry tests are defunct, and will be rewritten at a future date.
2020-12-14 14:31:19 -05:00
Andrew Steinborn
ef7f4871b8 Remove dependency on the java.desktop module
The Favicon.create(BufferedImage) method has been removed. In its place we have Favicon.create(Path) (carried over from the 1.x.x series) and Favicon.create(byte[]) (brand new).
2020-12-14 14:30:39 -05:00
Andrew Steinborn
4f5c315ef8 Remove netty-resolver-dns dependency
Geyser has fixed the issue in the latest builds
2020-12-14 04:29:28 -05:00
Andrew Steinborn
991aaa31b1 Revert "Stop bundling the Netty DNS resolver, we don't use it"
This reverts commit 88a57b77df.

Breaks Geyser
2020-12-13 18:47:47 -05:00
Andrew Steinborn
8c52341ff6 Do not pull in transitive dependencies of adventure-text-serializer-legacy-text3
Fixes #401
2020-12-13 15:33:19 -05:00
Andrew Steinborn
3efb84d62f
Merge pull request #400 from jkcoxson/dev/1.1.0
Fix grammer and spelling in the default config
2020-12-12 01:50:57 -05:00
Jk C
5bd60a4b77
Fix spelling issues and grammer issue 2020-12-11 18:57:01 -07:00
Jk C
808205302e
Spelling issue 2020-12-11 16:57:13 -07:00
Andrew Steinborn
88a57b77df Stop bundling the Netty DNS resolver, we don't use it 2020-12-10 06:56:19 -05:00
Andrew Steinborn
aef0e4a825 Update Netty to 4.1.55.Final. 2020-12-09 22:25:06 -05:00
Andrew Steinborn
2a5bb1e487 Fix tab list clearing bug.
Fixes regression introduced in 5da085d
2020-12-07 02:28:03 -05:00
Riley Park
5da085d82f
Adventure 4.3.0: Player list header/footer 2020-12-06 17:50:57 -08:00
Andrew Steinborn
f61b187b3d Send plugin channels to the server properly. Fixes #396 2020-12-05 14:38:00 -05:00
Andrew Steinborn
6ff4308f50
Merge pull request #388 from VelocityPowered/2/network
2/network
2020-12-02 00:39:45 -06:00
Andrew Steinborn
2f5e82a0f1 More fixups 2020-12-02 01:39:04 -05:00
Andrew Steinborn
cb4202fe78 Merge branch 'dev/2.0.0' into 2/network
# Conflicts:
#	proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ArgumentPropertyRegistry.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ModArgumentProperty.java
#	proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ModArgumentPropertySerializer.java
2020-12-02 01:24:39 -05:00
Riley Park
9825f5891b
Adventure 4.2.0 2020-11-25 12:22:33 -08:00
Andrew Steinborn
fa2655d49b Fix the debug message 2020-11-24 12:09:49 -05:00
Andrew Steinborn
aa7aee9dd7 Add another validation case although it's not strictly required 2020-11-24 12:05:27 -05:00
Andrew Steinborn
084b741375 Don't repeat validation in AvailableCommands
When deserializing an AvailableCommands packet, we do a few sanity checks to ensure the packet is valid. Some of this work was repeated for each cycle (notably the root) so we now check the children and any redirects are defined only once.
2020-11-24 12:03:34 -05:00
Andrew Steinborn
dd8c670ef7 Velocity 1.1.3-SNAPSHOT 2020-11-22 12:04:07 -05:00
Andrew Steinborn
783054d098 Velocity 1.1.2 2020-11-22 12:00:47 -05:00
Andrew Steinborn
50614af637 Fix bad merge 2020-11-17 07:19:25 -05:00
Andrew Steinborn
e8b37b6977 Bump to 4.1.54.Final 2020-11-17 04:49:51 -05:00