Skip to content

quic: delay destroying the readable until 'end'

Delay destroying the readable until the end has been received. This fixes the existing unit test that uses an async iterator which won't read the last chunk if the Readable has been destroyed.

Refs: https://github.com/nodejs/node/commit/1d8ecd8cfec2a5340028ac8be9f24024c4f9a810 Fixes: https://github.com/nodejs/node/issues/35789

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

Merge request reports

Loading