Skip to content

http2: remove square brackets from parsed hostname

Rodrigo Muino Tomonari requested to merge github/fork/lpinca/gh-28216 into master

Make http2.connect() work when using URLs with literal IPv6 addresses.

Fixes: https://github.com/nodejs/node/issues/28216

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading