Skip to content

http2: [compat api] use `Object.create(null)` for `getHeaders`

Rodrigo Muino Tomonari requested to merge github/fork/rexagod/i-29829-8 into master

refactor getHeaders to initialize headers using Object.create(null)

Refs: https://github.com/nodejs/node/issues/29829

fixup: lint

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

Merge request reports

Loading