Navigation Menu

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

Keepalive timer handling fixed #251

Merged
merged 1 commit into from Dec 29, 2016
Merged

Conversation

prossin
Copy link
Contributor

@prossin prossin commented Aug 29, 2016

Starting from version 6.0.0, node returns an error ("callback" argument must be a function) when using native keepalives because of setTimeout calling with null timer handler.

Starting from version 6.0.0, node returns an error ("callback" argument must be a function) when using native keepalives because of setTimeout calling with null timer handler.
@ibc
Copy link
Collaborator

ibc commented Dec 28, 2016

@theturtle32 does this PR look good for you? It seems to really fix an issue with latest version of Node (see #266).

@prossin
Copy link
Contributor Author

prossin commented Dec 28, 2016

I tested it for months with no issues. As far as I know is a good fix. I tried to modify as little as possible the code but, of course, I'm not sure this will fix all critical races related to the same problem.

@theturtle32 theturtle32 merged commit 41ebf9a into theturtle32:master Dec 29, 2016
@theturtle32
Copy link
Owner

Fix released as v1.0.24

@prossin
Copy link
Contributor Author

prossin commented Dec 29, 2016 via email

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.

None yet

3 participants