Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
net: stricter checking for internal/net isLegalPort #5733
Pull Request check-list
Affected core subsystem(s)
Description of change
Please provide a description of the change here.
Add stricter testing for the isLegalPort method in internal/net.
referenced this pull request
Mar 16, 2016
Here are some other values you might want to test, taken from https://github.com/nodejs/node/blob/master/test/parallel/test-net-create-connection.js.