Skip to content

[Workers] Update simultaneous open connections docs for slot-release-on-headers#29722

Open
harrishancock wants to merge 1 commit intoproductionfrom
harris/2026-04-09-connection-limit-docs
Open

[Workers] Update simultaneous open connections docs for slot-release-on-headers#29722
harrishancock wants to merge 1 commit intoproductionfrom
harris/2026-04-09-connection-limit-docs

Conversation

@harrishancock
Copy link
Copy Markdown
Contributor

@harrishancock harrishancock commented Apr 9, 2026

Summary

The Workers runtime now releases connection slots when response headers arrive, rather than when the response body is fully consumed. This means the 6-connection limit only constrains how many connections can be in the 'waiting for headers' phase simultaneously.

Remove documentation of stall detection and forced connection cancellation (Response closed due to connection limit), as this behavior is no longer observable with the new slot release timing. Keep the response.body.cancel() advice for memory management.

Add a changelog entry for the change.

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/pcx-technical-writing
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/pcx-technical-writing, @cloudflare/wrangler, @mattietk, @cloudflare/dev-plat-leads

The Workers runtime now releases connection slots when response headers
arrive, rather than when the response body is fully consumed. This means
the 6-connection limit only constrains how many connections can be in
the 'waiting for headers' phase simultaneously.

Remove documentation of stall detection and forced connection
cancellation (Response closed due to connection limit), as this
behavior is no longer observable with the new slot release timing.
Keep the response.body.cancel() advice for memory management.

Add a changelog entry for the change.
@harrishancock harrishancock force-pushed the harris/2026-04-09-connection-limit-docs branch from a41b79c to 459bc0f Compare April 9, 2026 16:25
@harrishancock harrishancock requested a review from a team as a code owner April 9, 2026 16:25
Copy link
Copy Markdown

@alialobidm alialobidm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants