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

net: make isIPv4 and isIPv6 more efficient #5478

Closed
wants to merge 1 commit into from

Commits on Mar 11, 2016

  1. net: make isIPv4 and isIPv6 more efficient

    `isIPv4` and `isIPv6` are implemented on top of `isIP`, which in turn
    checks the sting for being both IPv4 and IPv6, which can be inefficient
    in some scenarios. This commit makes them use `uv_inet_pton` directly
    instead.
    vkurchatkin committed Mar 11, 2016
    Configuration menu
    Copy the full SHA
    81f269a View commit details
    Browse the repository at this point in the history