Avoid the 'No suspended connection available" error when sending a message during long-polling reconnection.
Avoid the "maxReconnectOnClose reached" error (due to the reverse proxy timeout who close long-polling connection) by resetting the internal reconnect counter when the long-polling connection is successfully reopened (in the same way as when we receive a heartbeat message from the server).
Ignore websocker.onerror() invocation when a blocked WebSocket connection was fallback in another transport a while ago.
Because it set fallback transport _response.error variable to true;
Avoid the 'No suspended connection available" error when sending a message during long-polling reconnection.
Avoid the "maxReconnectOnClose reached" error (due to the reverse proxy timeout who close long-polling connection) by resetting the internal reconnect counter when the long-polling connection is successfully reopened (in the same way as when we receive a heartbeat message from the server).
Ignore websocker.onerror() invocation when a blocked WebSocket connection was fallback in another transport a while ago. Because it set fallback transport _response.error variable to true;