wxyz-abcd / node-haxball

The most powerful and lightweight API that allows you to develop your original Haxball(www.haxball.com) host, client, and standalone applications both on node.js and browser environments and also includes every possible hack and functionality that you can imagine.
MIT License
34 stars 13 forks source link

proxyAgent error detection #65

Open wxyz-abcd opened 11 months ago

wxyz-abcd commented 11 months ago

We currently cannot detect whether the proxy agent is working correctly or not. If any error occurs while connecting, the current connection is discarded and a new connection is attempted directly.(at least that's what happens while creating a room.) While this may be useful when you disconnect AFTER you are connected, it is not the case here. We need a distinction method to fix this behavior.