Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message processed 60 seconds after receive in edge #248

Open
tejoe opened this issue Jul 31, 2019 · 0 comments
Open

Message processed 60 seconds after receive in edge #248

tejoe opened this issue Jul 31, 2019 · 0 comments

Comments

@tejoe
Copy link

tejoe commented Jul 31, 2019

Whenever a message needs to be split into multiple tcp packets, it will not be handled correctly in edge browser

After the first tcp packet is received the ajaxRequest.onreadystatechange function is called and correctly detects (Trackmessagesize), that the message is incomplete. The partial message is stored for later processing.

After the second/last tcp packet is received, the ajax request is updated (responseText), but the onreadystatechange function is not called. So the update is pending in the browser memory.

Only after the next update is received, the previous message will be processed. This is most likely after 60 seconds, which is the default heartbeatinterval.

All TCP packets are usually received within the same millisecond (according to wireshark). In other browsers it look like the onreadystatechange method is called after receiving the last packet. In Edge it is after the first packet

Environment Infos:
Client Version atmosphere-javascript-2.3.5
Server Version atmosphere-runtime-2.4.13
Transport: streaming

jfarcand added a commit that referenced this issue Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant