You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
router: add request_body_buffer_limit for large request buffering (#40254)
## Description
ML/inference requests often require buffering the entire request body to
determine routing destination based on content rather than headers, and
to support retries of failed requests. The existing
`per_request_buffer_limit_bytes` (32-bit) is insufficient for large ML
payloads that can exceed 4GB.
This PR adds `request_body_buffer_limit` configuration to `VirtualHost`
and `Route` for buffering large request bodies beyond connection buffer
limits. This enables support for ML/inference workloads that require
buffering entire request bodies for processing and retries.
When `request_body_buffer_limit` is not configured, the existing
`per_request_buffer_limit_bytes` behavior is preserved. Routes inherit
from virtual hosts when not explicitly configured.
See envoyproxy/envoy#40028
---
**Commit Message:** router: add request_body_buffer_limit for large
request buffering
**Additional Description:** Added `request_body_buffer_limit`
configuration to `VirtualHost` and `Route` for buffering large request
bodies beyond connection buffer limits.
**Risk Level:** Low
**Testing:** Added Unit + Integration Tests
**Docs Changes:** Added
**Release Notes:** Added
---------
Signed-off-by: Rohit Agrawal <[email protected]>
Signed-off-by: yanavlasov <[email protected]>
Co-authored-by: yanavlasov <[email protected]>
Mirrored from https://github.com/envoyproxy/envoy @ 369ace259ce3a67e16a1a29331671a533ffa6968
0 commit comments