route config: Allow to configure direct response body size (#14778)
This patch adds max_direct_response_body_size_bytes to set the maximum bytes of the direct response body size (in bytes). The config is added as a field in RouteConfiguration. Reviving #13487 with a slightly different approach (add the config to RouteConfiguration instead of directly per direct response config entry). Risk Level: Low, since the default behavior is preserved. Testing: Updated to test the newly introduced config. Docs Changes: Updated. Release Notes: Added. Fixes #13422 Signed-off-by: Dhi Aurrahman <dio@rockybars.com> Mirrored from https://github.com/envoyproxy/envoy @ eeb7adc3a30456f0d4ac65e5e6c8e88e25481d2apull/624/head
parent
625fe87137
commit
7951082c50
2 changed files with 28 additions and 2 deletions
Loading…
Reference in new issue