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

Fix for race condition #10

Merged
merged 1 commit into from
Apr 4, 2011
Merged

Fix for race condition #10

merged 1 commit into from
Apr 4, 2011

Conversation

trask
Copy link
Contributor

@trask trask commented Apr 3, 2011

Fix for race condition if two messages are broadcast to the same resource in very close succession. I can reproduce this issue synthetically by making two calls (one right after the other) to AtmosphereGwtHandler.doServerMessage(). The first message ends up getting overwritten by the second message before it is sent to the gwt client and the gwt client ends up receiving the second message twice. Let me know if you have any other preference for the fix and I can re-submit. Btw, thanks for this project.

@pierreh
Copy link

pierreh commented Apr 4, 2011

Great that you were able to fix this! Good job!

Since the patch is in Atmosphere core I will leave it to JF to review and pull.

Thanks,
Pierre

@jfarcand jfarcand merged commit eb696da into Atmosphere:master Apr 4, 2011
@jfarcand
Copy link
Member

jfarcand commented Apr 4, 2011

Thanks!!!!!

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

Successfully merging this pull request may close these issues.

3 participants