You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
parallel/test-http2-close-while-writing is flaky #58252
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
Activity
lpinca commentedon May 9, 2025
This callback
node/test/parallel/test-http2-close-while-writing.js
Line 40 in 264cad7
lpinca commentedon May 10, 2025
I don't think the original intention was to call
stream.write(Buffer.alloc(1))for each received chunk, and the following patch fixes the issueHowever it is not clear to me why the stream sometimes hangs. The reason for the hang/timeout is that this callback
node/lib/internal/http2/core.js
Lines 2192 to 2196 in 6710c00
I'm not opening a PR with the patch because it would hide the bug.
cc: @nodejs/http2
http2: invoke pending write callback on stream destroy
github-actions commentedon Apr 20, 2026
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
lpinca commentedon Apr 20, 2026
It is still relevant.
lpinca commentedon Jun 1, 2026
Fixed by 5f96180.
inoway46 commentedon Sep 12, 2026
This seems to be flaky again. The recent failures appear to have the same signature as the original report (timeout after ~120s):
http2: settle pending write callbacks on stream destroy
http2: settle pending write callbacks on destroy
http2: settle pending write callbacks on destroy
http2: settle pending write callbacks on destroy
http2: settle pending write callbacks on destroy
http2: settle pending write callbacks on destroy
http2: settle pending write callbacks on destroy