Skip to content

http: reset stream to unconsumed in `unconsume()`

Reset the underlying socket of an HTTP stream to be marked as unconsume after the HTTP parser no longer owns it.

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

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

http

Merge request reports

Loading