Skip to content

http2: fix session memory tracking and small clean up

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

http2: fix session memory tracking with pending input data Previously DecrementCurrentSessionMemory call was made after the relevant variable was reset to 0.

http2: small clean up in OnStreamRead Extract pending input memory size in a variable and change code appropriately.

Not sure how to reliably hit the changed case, could someone help so I can write a test for DecrementCurrentSessionMemory?

Merge request reports

Loading