| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Review requested:
|
Sorry, something went wrong.
Flush pending Http2Stream write callbacks when nghttp2 closes the stream but JS keeps it alive to finish readable-side cleanup. Also avoid queueing additional writes once the stream is closed. Fixes: nodejs#58252 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5
Codecov Report❌ Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #63439 +/- ##
=======================================
Coverage 90.06% 90.06%
=======================================
Files 714 714
Lines 225918 225931 +13
Branches 42734 42739 +5
=======================================
+ Hits 203464 203480 +16
- Misses 14232 14233 +1
+ Partials 8222 8218 -4
... and 29 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This fixes a race where an HTTP/2 stream can close while writes are still
queued. In that state, pending write callbacks could be left unresolved, which
kept the test process alive until timeout.
The fix completes pending write callbacks when nghttp2 closes the stream and
prevents additional data from being queued once the stream is closed.
The existing regression test now also verifies that all server-side write
callbacks run before the stream closes.
Fixes: #58252
Tested with:
Assisted-by: openai:gpt-5.5