mrjoes / tornadio2

Python socket.io server implementation on top of Tornado framework
Other
523 stars 118 forks source link

In socket.io-client 0.9.1 client side heartbeat was implemented, but tornadio2 doesn't send it in xhr-polling transport #36

Closed denya closed 12 years ago

denya commented 12 years ago

In socket.io-client 0.9.1 client side hearbeat was implmeneted, see commit https://github.com/LearnBoost/socket.io-client/commit/0bcd25f03d2aa1d921a54be16b6aa75294894d49

It took heartbeat invetrval and waiting for packet. If not heartbeat -- it triggers reconnect.

But i found, that tornadio2 doesn't start hearbeat process when use xhr-transport.

So we got regular reconnection process. It's not problem, i can use 0.9.0, but need to fix (may be in clientside library?)