We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
let http2=require('http2'), server=http2.createServer() server.listen(8000,'::1',()=>{ http2.connect('http://[::1]:8000',()=>{ console.log('listener called') }) })
Expected: console.log('listener called') Result: Error: getaddrinfo ENOTFOUND [::1] [::1]:8000
console.log('listener called')
Error: getaddrinfo ENOTFOUND [::1] [::1]:8000
The text was updated successfully, but these errors were encountered:
http2: remove square brackets from parsed hostname
44daa79
Make `http2.connect()` work when using URLs with literal IPv6 addresses. Fixes: nodejs#28216
26b048e
8ed57bf
Make `http2.connect()` work when using URLs with literal IPv6 addresses. Fixes: #28216 PR-URL: #28406 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
fd4d1e2
Successfully merging a pull request may close this issue.
Expected:
console.log('listener called')
Result:
Error: getaddrinfo ENOTFOUND [::1] [::1]:8000
The text was updated successfully, but these errors were encountered: