Skip to content

http,http2: throw invalid arg for writeHead headers arg

Throw if something other than an object is passed to writeHead instead of quietly ignoring it.

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