René's URL Explorer Experiment


Title: quic: Accumulation buffer is not filled, if small packets arrive · Issue #64035 · nodejs/node · GitHub

Open Graph Title: quic: Accumulation buffer is not filled, if small packets arrive · Issue #64035 · nodejs/node

X Title: quic: Accumulation buffer is not filled, if small packets arrive · Issue #64035 · nodejs/node

Description: I have the following situation: On http/3 (actually webtransport) the underlying data stream consists of 1024 byte packages (coming from a third party server), I see on the reader that the bytes arrive in packets of 100 bytes on js direc...

Open Graph Description: I have the following situation: On http/3 (actually webtransport) the underlying data stream consists of 1024 byte packages (coming from a third party server), I see on the reader that the bytes ar...

X Description: I have the following situation: On http/3 (actually webtransport) the underlying data stream consists of 1024 byte packages (coming from a third party server), I see on the reader that the bytes ar...

Opengraph URL: https://github.com/nodejs/node/issues/64035

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"quic: Accumulation buffer is not filled, if small packets arrive","articleBody":"I have the following situation:\nOn http/3 (actually webtransport) the underlying data stream consists of 1024 byte packages (coming from a third party server), I see on the reader that the bytes arrive in packets of 100 bytes on js directly from the nghttp3 parser without being accumulated in the buffer.\nThe reason is that in `ReceiveData` in `streams.cc`:\n```\n  } else if (reader_ \u0026\u0026 was_empty) {\n    printf(\"RD 10\\n\");\n    // Notify the reader once when the accumulator transitions from empty\n    // to non-empty. This wakes the reader exactly once per accumulation\n    // cycle. When the reader wakes and calls pull(), BeforePull() flushes\n    // the accumulated data, and the subsequent EntryRead() extends the\n    // flow control window. We do NOT notify on every callback — that\n    // would defeat coalescing by flushing tiny amounts each time.\n    reader_-\u003eNotifyPull();\n    printf(\"RD 11\\n\");\n  }\n```\ndoes actually not cause a wake, but an immediate execution at least for:\n```\n        console.log('before wakeup')\n        const fin = await wakeup.promise;\n        console.log('after wakeup')\n```\nin `createBlobReaderIterable` .\nHere is a log trace:\n```\nReceive data wt 100\nRD 1\nRD 2\nRD 4\nRD 5\nRD 8\nRD 10\nafter wakeup\nFlush acc not pull \n  webtransport:http3wtstream(3804) commitReadBuffer 100 +1ms\nread mark2 4061 1781992229358 406100 100\nbefore wakeup\nafter wakeup\nbefore wakeup\nRD 11\nReceive data wt 100\n```\nto prove it. And yes, it is woken up twice per cycle via  `Stream::FlushAccumulation()` (that is the \"Flush acc not pull\" printout).\n\nIf I can trust on what is gemini saying, it is that the call from C++ will immediately schedule all microtasks before return, but I do not trust it....\n\nIt is unclear, if `createBlobReaderStream(reader)` will show the same issues.\n\nMy first reflex is to wrap the call to the wakeup call in a `nextTick` or `setImmediate` call , but maybe @jasnell  or @pimterry know a better way?\n\n","author":{"url":"https://github.com/martenrichter","@type":"Person","name":"martenrichter"},"datePublished":"2026-06-20T22:16:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/64035/node/issues/64035"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c90a3ad5-7154-39a8-c56d-eb4a5a63508d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE870:374E1E:1ADA3F3:26BD6FF:6A4CE386
html-safe-nonce54d58589422be94b17ffe85afc591a12c996825c12a71768a1e5c2c0c1fab84b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODcwOjM3NEUxRToxQURBM0YzOjI2QkQ2RkY6NkE0Q0UzODYiLCJ2aXNpdG9yX2lkIjoiNTMzNzgzNDQxMDA3MzcxMTQ5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb9f8edc9d07f207c2d91e7f8a3418ed3f0a427332e890e0c3687b856f257a117
hovercard-subject-tagissue:4708538425
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/64035/issue_layout
twitter:imagehttps://opengraph.githubassets.com/950569bd0a581e20f33fb23abc81d843d774dc326c5e5eac759b0c0f4e0c1344/nodejs/node/issues/64035
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/950569bd0a581e20f33fb23abc81d843d774dc326c5e5eac759b0c0f4e0c1344/nodejs/node/issues/64035
og:image:altI have the following situation: On http/3 (actually webtransport) the underlying data stream consists of 1024 byte packages (coming from a third party server), I see on the reader that the bytes ar...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemartenrichter
hostnamegithub.com
expected-hostnamegithub.com
None299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec5a57f04eeb310f57c73fd6d751d957e2ca27ed2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/issues/64035#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F64035
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F64035
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/64035
Reloadhttps://github.com/nodejs/node/issues/64035
Reloadhttps://github.com/nodejs/node/issues/64035
Please reload this pagehttps://github.com/nodejs/node/issues/64035
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/issues/64035
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.4k https://github.com/nodejs/node/issues
Pull requests 961 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
#64044https://github.com/nodejs/node/pull/64044
quic: Accumulation buffer is not filled, if small packets arrivehttps://github.com/nodejs/node/issues/64035#top
#64044https://github.com/nodejs/node/pull/64044
quicIssues and PRs related to the QUIC implementation / HTTP/3.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22quic%22
https://github.com/martenrichter
martenrichterhttps://github.com/martenrichter
on Jun 20, 2026https://github.com/nodejs/node/issues/64035#issue-4708538425
@jasnellhttps://github.com/jasnell
@pimterryhttps://github.com/pimterry
quicIssues and PRs related to the QUIC implementation / HTTP/3.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22quic%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.