LearnBoost/socket.io-client — Issue #367: After a disconnect, no longer try multiple transports
Author: brandon-lockaby
Created: 2012-01-15 00:43:03+00:00
State: open

Given the default list of transports and an environment where websocket fails (currently, no.de SmartMachine), socket.io-client moves on to another transport (in this case, xhr-polling). However, after the connection is lost, socket.io-client will only attempt to reconnect using websocket, which will always fail. This is happening because of https://github.com/LearnBoost/socket.io-client/blob/master/lib/socket.js#L517

```this.options['try multiple transports'] = false;```

in Socket.prototype.reconnect

Was this intended to force the reconnection to try the previously successful transport, first? Instead, it's permanently limiting itself to trying the first transport in the list.