Skip to content

quic: stream not reading last chunk on close when using async iterator

The async iterator can sometimes miss the last chunk when there has been an asynchronous event and a null chunk as used by test-quic-simple-server-uni.js

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

No new unit tests have been added, this fixes the QUIC unit test : test/parallel/test-quic-simple-server-uni.js

Merge request reports

Loading