HimbeerserverDE / mt-multiserver-proxy

mt-multiserver-proxy is a reverse proxy designed for linking multiple Minetest servers together
MIT License
26 stars 5 forks source link

Trailing data errors may be ignorable #143

Closed HimbeerserverDE closed 9 months ago

HimbeerserverDE commented 9 months ago

This could help with compatibility, especially when it comes to Minetest development builds. This needs testing. If it works reliably the rudp package should be updated to expose an error type.

HimbeerserverDE commented 9 months ago

This prevents full breakage but doesn't guarantee that the packet contents remain correct due to being shifted around. It isn't and will never be feasible to support multiple versions using the mt library in its current state and I don't see how it could reasonably be refactored. The only real way to stay compatible is to drop the strong typing which is not an option worth considering.