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

websocket write bug fix #88

Merged
merged 14 commits into from
Jul 21, 2022
Merged

websocket write bug fix #88

merged 14 commits into from
Jul 21, 2022

Conversation

RogerZhongAWS
Copy link
Contributor

Motivation

Fixes bug where there is more than one outstanding call to web socket write.

Modifications

Change summary

Added mutex + lock_guard to protect outgoing message queue from concurrent access.

Testing

Changes have been tested with files >10 MB

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@kareali kareali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but can you clean up the commits, maybe squash all the 14 commit into a single commit with a meaningful commit message.

@RogerZhongAWS
Copy link
Contributor Author

@kareali I made sure the repo settings only allow for squash and merge for pull requests. Github should take care of the squashing and then I just edit the commit message before I close the PR.

@kareali
Copy link
Contributor

kareali commented Jul 21, 2022

@kareali I made sure the repo settings only allow for squash and merge for pull requests. Github should take care of the squashing and then I just edit the commit message before I close the PR.

Sounds good, Just approved the PR.

@RogerZhongAWS RogerZhongAWS merged commit 48451ea into master Jul 21, 2022
@HarshGandhi-AWS HarshGandhi-AWS deleted the WSSFix branch April 20, 2023 22:24
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