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

src: return UV_EAI_NODATA on empty lookup #4715

Closed
wants to merge 1 commit into from
Closed

Commits on Jan 15, 2016

  1. src: return UV_EAI_NODATA on empty lookup

    AfterGetAddrInfo() can potentially return an empty array of
    results without setting an error value. The JavaScript layer
    expects the array to have at least one value if an error is
    not returned. This commit sets a UV_EAI_NODATA error when an
    empty result array is detected.
    
    Fixes: nodejs#4545
    cjihrig committed Jan 15, 2016
    Configuration menu
    Copy the full SHA
    3267d9f View commit details
    Browse the repository at this point in the history