1. Avoid Netty buffer leak in LegacyPingHandler. Fixes #1200 (#1201) (commit: 81688d2) (details)
Commit 81688d28d24fe622d01de253963f37b622e64c5f by zach
Avoid Netty buffer leak in LegacyPingHandler. Fixes #1200 (#1201)
The extra buffer used to decode the strings sent by the client
legacy ping protocol was never released. However, creating
copy of the buffer just to decode it to a string isn't
necessary: We can just call toString() directly on the

Additionally, free the buffer in handlerRemoved() to handle cases
where the client never sends enough bytes to form a valid legacy
(commit: 81688d2)
The file was removedSpigot-Server-Patches/0284-Make-the-legacy-ping-handler-more-reliable.patch
The file was modifiedSpigot-Server-Patches/0285-Call-PaperServerListPingEvent-for-legacy-pings.patch (diff)
The file was addedSpigot-Server-Patches/0284-Make-legacy-ping-handler-more-reliable.patch