Title: quic: QuicStream writer creates unhandled error · Issue #64290 · nodejs/node · GitHub
Open Graph Title: quic: QuicStream writer creates unhandled error · Issue #64290 · nodejs/node
X Title: quic: QuicStream writer creates unhandled error · Issue #64290 · nodejs/node
Description: I have currently a pattern, where the stream arrives with onheaders, and then after some processing I may answer with: stream.sendHeaders({ ':status': status.toString() }) stream.writer.endSync() status is 404, the client on the other si...
Open Graph Description: I have currently a pattern, where the stream arrives with onheaders, and then after some processing I may answer with: stream.sendHeaders({ ':status': status.toString() }) stream.writer.endSync() s...
X Description: I have currently a pattern, where the stream arrives with onheaders, and then after some processing I may answer with: stream.sendHeaders({ ':status': status.toString() }) stream.writer.end...
Opengraph URL: https://github.com/nodejs/node/issues/64290
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"quic: QuicStream writer creates unhandled error","articleBody":"I have currently a pattern, where the stream arrives with `onheaders`,\nand then after some processing I may answer with:\n```\n stream.sendHeaders({ ':status': status.toString() })\n stream.writer.endSync()\n```\nstatus is 404, the client on the other side (not a node.js client),\nthen errors the stream with code `256`\nand I get:\n```\nnode:internal/quic/quic:1009\n error = makeQuicError(\n ^\n\nQuicError: QUIC application error 256: stream reset with code 256\n at Stream.onStreamClose (node:internal/quic/quic:1009:17) {\n code: 'ERR_QUIC_APPLICATION_ERROR',\n reason: 'stream reset with code 256'\n}\n```\nThis caused by the `drainWakeup` promise, here:\nhttps://github.com/nodejs/node/blob/a006c5dd12853b024b12aef22e2b331b9ea3d43c/lib/internal/quic/quic.js#L2316\n\nI wonder, if the user has to subscribe to some error to handle it.\nBut I think it is probably a problem how the writer interface is made here.\nThat is above my js skills.\n@jasnell @pimterry do one of you have an idea, if it is a problem inside node.js or on my code outside node.js\n","author":{"url":"https://github.com/martenrichter","@type":"Person","name":"martenrichter"},"datePublished":"2026-07-04T16:52:30Z","url":"https://github.com/nodejs/node/issues/64290"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:bc4908c3-0b6e-31fd-b413-e445d90914fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D586:3BA6B9:6AFDE1:8E875C:6AED2106 |
| html-safe-nonce | a7ea748f1b54b04231fc4a36d5e8bbcc15ad69c5428d938f8ac901d157e7c39b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTg2OjNCQTZCOTo2QUZERTE6OEU4NzVDOjZBRUQyMTA2IiwidmlzaXRvcl9pZCI6IjMwMjM0MTQwNzIwMDc1MzI4MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b18ccada44551fc46d25bc81eed848b54a4d0b683157a8b0b0c5148494e8cbcd |
| hovercard-subject-tag | issue:4809819050 |
| 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/64290/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41bce2f4e5d43ef2dcdc9ba42e6c233758dd19a11d7c53dd40b9375a8daefe88/nodejs/node/issues/64290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41bce2f4e5d43ef2dcdc9ba42e6c233758dd19a11d7c53dd40b9375a8daefe88/nodejs/node/issues/64290 |
| og:image:alt | I have currently a pattern, where the stream arrives with onheaders, and then after some processing I may answer with: stream.sendHeaders({ ':status': status.toString() }) stream.writer.endSync() s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | martenrichter |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6 |
| 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 | 707a24b346ac8a82878b9c084efaa38a997660cb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width