Title: http2: `Http2Stream#close()` sends no RST_STREAM when an `'aborted'` listener destroys the stream · Issue #66306 · nodejs/node · GitHub
Open Graph Title: http2: `Http2Stream#close()` sends no RST_STREAM when an `'aborted'` listener destroys the stream · Issue #66306 · nodejs/node
X Title: http2: `Http2Stream#close()` sends no RST_STREAM when an `'aborted'` listener destroys the stream · Issue #66306 · nodejs/node
Description: Found while investigating an undici bug... closeStream() sets STREAM_FLAGS_CLOSED, then emits 'aborted' synchronously before calling finishCloseStream(). If a listener destroys the stream, _destroy() skips its own RST because this.closed...
Open Graph Description: Found while investigating an undici bug... closeStream() sets STREAM_FLAGS_CLOSED, then emits 'aborted' synchronously before calling finishCloseStream(). If a listener destroys the stream, _destroy...
X Description: Found while investigating an undici bug... closeStream() sets STREAM_FLAGS_CLOSED, then emits 'aborted' synchronously before calling finishCloseStream(). If a listener destroys the stream, ...
Opengraph URL: https://github.com/nodejs/node/issues/66306
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"http2: `Http2Stream#close()` sends no RST_STREAM when an `'aborted'` listener destroys the stream","articleBody":"Found while investigating an undici bug...\n\n`closeStream()` sets `STREAM_FLAGS_CLOSED`, then emits `'aborted'` synchronously before calling `finishCloseStream()`. If a listener destroys the stream, `_destroy()` skips its own RST because `this.closed` is already `true`, and destroys the handle. `submitRstStream()` then finds no handle and no `RST_STREAM` is sent. The peer's stream stays open until the session closes.\n\n`stream.pipeline(src, http2Stream)` triggers this by itself: Http2Stream has `autoDestroy: false`, so `eos` listens for `'aborted'` and destroys on it.","author":{"url":"https://github.com/jasnell","@type":"Person","name":"jasnell"},"datePublished":"2026-09-25T22:15:27Z","url":"https://github.com/nodejs/node/issues/66306"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b78fde0a-6836-89ea-0c05-6aaff4072263 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92C6:17A21E:833068:AA0C01:6B062C13 |
| html-safe-nonce | 551c412e20f1f61f97ca51a3d42cfa4cdfa64757a8e55c38bd4c4db55822661a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkM2OjE3QTIxRTo4MzMwNjg6QUEwQzAxOjZCMDYyQzEzIiwidmlzaXRvcl9pZCI6Ijg4MTI4NjQzMjE1Mzg2MzI3MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e639e2b13c93788df5cd130eeaed2a9d4bec5c28139a2d98676e74c92526bc1c |
| hovercard-subject-tag | issue:5589143014 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/66306/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b6af291890bb0f8b711a76a7fe9d6fda757d33e3e908bf23075e994e36b1b87/nodejs/node/issues/66306 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b6af291890bb0f8b711a76a7fe9d6fda757d33e3e908bf23075e994e36b1b87/nodejs/node/issues/66306 |
| og:image:alt | Found while investigating an undici bug... closeStream() sets STREAM_FLAGS_CLOSED, then emits 'aborted' synchronously before calling finishCloseStream(). If a listener destroys the stream, _destroy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jasnell |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width