Skip to content

http: support readable hwm in IncomingMessage

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/rhwm into master

This commit causes http.IncomingMessage instances to set their readableHighWaterMark value the same value used in the underlying socket.

FWIW, http.OutgoingMessage already uses the socket to set its writableHighWaterMark.

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

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