Skip to content

http2: implement maxSessionMemory

The maxSessionMemory is a cap for the amount of memory an Http2Session is permitted to consume. If exceeded, new Http2Stream sessions will be rejected with an ENHANCE_YOUR_CALM error and existing Http2Stream instances that are still receiving headers will be terminated with an ENHANCE_YOUR_CALM error.

@nodejs/http2 (@mcollina in particular)

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
Affected core subsystem(s)

http2

Merge request reports

Loading