quic: stream not reading last chunk on close when using async iterator#35798
quic: stream not reading last chunk on close when using async iterator#35798mmomtchev wants to merge 1 commit intonodejs:masterfrom
Conversation
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: nodejs#35789
|
Review requested:
|
|
@ronag , check this please |
ronag
left a comment
There was a problem hiding this comment.
This is not correct. Will explain later.
Is the |
|
@ronag, In fact, when using |
|
The |
|
@ronag, yes, this is a quic issue, I confirm, thanks |
|
This is a problem with the QUIC code synchronously destroying the Readable when a write is final |
|
This entire bit of code is going to be refactored very soon (within a few weeks) |
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: #35789
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesNo new unit tests have been added, this fixes the QUIC unit test :
test/parallel/test-quic-simple-server-uni.js