deathcap / wsmc

WebSocket proxy to Minecraft
33 stars 10 forks source link

Kick client with descriptive error message when MC server is offline #27

Open deathcap opened 8 years ago

deathcap commented 8 years ago

If the destination MC server is down, the WS socket will nonetheless remain open and WS clients can try to connect. This situation should be handled more gracefully, for example by kicking the clients with an informative error message (like http 504 gateway unavailable).

Similar to https://github.com/deathcap/wsmc/issues/18 Detect when login will fail because server is in online mode