# TunnelCraft 5.0.0 – Patch Notes (Quality + Reconnect Update)
- Fixed desync issue (“Connection restored” but gameplay broken):
The relay now ignores stale close events after a reconnect, preventing old sockets from tearing down a new session.
- Fixed reconnect failures caused by duplicate login:
When a player reconnects using the same clientId, the relay cleanly replaces the old connection and notifies the server/plugin to close the previous slot.
- Fixed “rejoin world” / UnknownHost errors:
The client now re-prepares the local tunnel listener before reconnecting, so Minecraft no longer attempts to DNS-resolve the tunnel ID.
Improved tunnel stability:
- Added WebSocket heartbeat (ping/pong) to quickly detect and terminate half-open connections.
- Added backpressure protection: connections that fall behind and buffer excessively are dropped cleanly instead of lagging indefinitely.
Improved tunnel speed and lower latency:
Enabled TCP_NODELAY and TCP keepalive on relay WebSockets.
Reduced per-packet allocation overhead in relay forwarding through more efficient frame construction.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }