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

cluster: guard against undefined message handlers #6902

Merged
merged 1 commit into from
May 25, 2016

Commits on May 25, 2016

  1. cluster: guard against undefined message handlers

    cluster's internal message handling includes a cache of callback
    functions. Once the message for that callback is received, it is
    removed from the cache. If, for any reason, the same message ID
    is processed twice, the callback will be missing from the cache
    and cluster will try to call undefined as a function. This commit
    guards against this scenario.
    
    Refs: nodejs#6561
    PR-URL: nodejs#6902
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    cjihrig committed May 25, 2016
    Configuration menu
    Copy the full SHA
    33c7b45 View commit details
    Browse the repository at this point in the history