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

Update ocean & dhtproto for fix to Listen disconnection detector #74

Conversation

gavin-norman-sociomantic

Previously, the disconnection detector could fire in epoll, be
unregistered, go out of scope, then be handled in epoll. The patch releases
in ocean and dhtproto fix this by removing the disconnection detector from
the epoll selected set when it's unregistered.

  • submodules/dhtproto v13.2.0(d37d420)...v13.2.1(c646488) (1 commits)

    Remove Listen DisconnectDetector from epoll selected set when unregistering

  • submodules/ocean v3.6.1(029feb3)...v3.6.6(31d4b7e) (11 commits)

    Add test case for unregister behaviour
    Allow removing the client from the selected set in EpollDispatcher.unregister
    Make selected_set a member of EpollSelectDispatcher
    Do not rethrow from exception_handler
    Modify how exception_handler is passed to epoll
    (...)

Fixes #72.

Previously, the disconnection detector could fire in epoll, be
unregistered, go out of scope, then be handled in epoll. The patch releases
in ocean and dhtproto fix this by removing the disconnection detector from
the epoll selected set when it's unregistered.

* submodules/dhtproto v13.2.0(d37d420)...v13.2.1(c646488) (1 commits)
  > Remove Listen DisconnectDetector from epoll selected set when unregistering

* submodules/ocean v3.6.1(029feb3)...v3.6.6(31d4b7e) (11 commits)
  > Add test case for unregister behaviour
  > Allow removing the client from the selected set in EpollDispatcher.unregister
  > Make selected_set a member of EpollSelectDispatcher
  > Do not rethrow from exception_handler
  > Modify how exception_handler is passed to epoll
  (...)

Fixes sociomantic-tsunami#72.
Copy link
Contributor

@nemanja-boric-sociomantic nemanja-boric-sociomantic left a comment

Choose a reason for hiding this comment

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

LGTM, this is all that's needed to be done to hopefully fix this issue.

@nemanja-boric-sociomantic
Copy link
Contributor

nemanja-boric-sociomantic commented Feb 21, 2018

Is the master target branch right? You probably want this as a bugfix.

@gavin-norman-sociomantic
Copy link
Author

Yep. I'm just including this in the next normal release.

@nemanja-boric-sociomantic nemanja-boric-sociomantic merged commit 5ea99fe into sociomantic-tsunami:master Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to dhtproto v13.2.1, for Listen bug fix
2 participants