Skip to content

fix: enforce limit on HTTP responses#2918

Merged
lucaspin merged 2 commits intomainfrom
fix/enforce-size-limit-on-http-response
Feb 6, 2026
Merged

fix: enforce limit on HTTP responses#2918
lucaspin merged 2 commits intomainfrom
fix/enforce-size-limit-on-http-response

Conversation

@lucaspin
Copy link
Contributor

@lucaspin lucaspin commented Feb 6, 2026

Related to #2915

This pull request adds a limit on the amount of data the HTTPContext accepts on responses, safeguarding the engine against components using too much memory on HTTP requests. Also, it indirectly puts a limit on the size of the events that components and triggers emit since the events emitted usually come from HTTP responses. An initial limit of 512KB is used, but might adjusted based on new integrations and components.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 6, 2026

Deploying superplane with  Cloudflare Pages  Cloudflare Pages

Latest commit: b3c7eab
Status: ✅  Deploy successful!
Preview URL: https://c3947084.superplane.pages.dev
Branch Preview URL: https://fix-enforce-size-limit-on-ht.superplane.pages.dev

View logs

@lucaspin lucaspin merged commit f36d7e0 into main Feb 6, 2026
4 checks passed
@lucaspin lucaspin deleted the fix/enforce-size-limit-on-http-response branch February 6, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant