envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
24.95k stars 4.8k forks source link

Max single header size #36445

Open ultratin opened 4 weeks ago

ultratin commented 4 weeks ago

Title: Create configuration for max single header size

Description: Our company runs two separate envoy pointing to the same system internally. One sits behind an ALB while the other sits behind a NLB. ALB has an internal restriction of max 16kb per single header (please see first link). We would like to have a similar feature in Envoy where we can set the max single header size as well for our envoy that is sitting behind the NLB. So far the only configuration for header size I can find for envoy is max_request_headers_kb which is the entire size of the request header.

Relevant Links: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html

ultratin commented 3 weeks ago

Just want to know what is needed to continue the conversation. I'm willing to take a stab at it as well if possible.