gimite / web-socket-js

HTML5 Web Socket implementation powered by Flash
BSD 3-Clause "New" or "Revised" License
2.73k stars 489 forks source link

Don't enter the FABridge recursively when we are sending messages and receiving at the same time #47

Closed jvshahid closed 13 years ago

jvshahid commented 13 years ago

When too many messages are being sent and received at the same time. The call to readSocketData can cause the famous error inside FABridge. This patch should fix the problem since the call to readSocketData is rescheduled.