You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to add support for long-polling using atmosphere, found that when broadcasting multiple times too fast the response sometimes get lost
Looks like atmosphere uses the last get request to send the response and as there is no other get request created when broadcasting the second response this last one is lost
Some of the used logic
When subscribing the app the app sets an event listener, a broadcast for the resource, and suspends the connection
Hi
Trying to add support for long-polling using atmosphere, found that when broadcasting multiple times too fast the response sometimes get lost
Looks like atmosphere uses the last get request to send the response and as there is no other get request created when broadcasting the second response this last one is lost
Some of the used logic
When subscribing the app the app sets an event listener, a broadcast for the resource, and suspends the connection
When pushing data re-set the broadcaster to the resource and broadcast a response
Tried this with 1.0.9, 1.0.10 and 1.1.0.beta3 with the same results
Using websockets it works fine
Regards
The text was updated successfully, but these errors were encountered: