Skip to content

http: compat head request should not start finished

http2 streams for HEAD requests are never writable, thus writableState is not interesting for checking whether a response is ended or aborted.

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

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