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

Don't double resubscribe to asio events in TCPConnection #1509

Merged
merged 1 commit into from
Jan 18, 2017

Conversation

SeanTAllen
Copy link
Member

The previous one shot code for resubscribing was incorrect.
It could end up subscribing to an event more than once.
From what I've read for epoll, its undefined behavior if
you do that.

The previous one shot code for resubscribing was incorrect.
It could end up subscribing to an event more than once.
From what I've read for epoll, its undefined behavior if
you do that.
@SeanTAllen SeanTAllen added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Jan 9, 2017
@sylvanc sylvanc merged commit 195dc59 into master Jan 18, 2017
ponylang-main added a commit that referenced this pull request Jan 18, 2017
@SeanTAllen SeanTAllen deleted the tcp-connection-dont-double-resubscribe branch June 7, 2018 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants