haproxytech / kubernetes-ingress

HAProxy Kubernetes Ingress Controller
https://www.haproxy.com/documentation/kubernetes/
Apache License 2.0
719 stars 202 forks source link

Getting "http 431 - Too big request header" from the builtin http server #549

Open DaveOHenry opened 1 year ago

DaveOHenry commented 1 year ago

I wanted to update the controller and get rid of the default backend container, but the builtin http server doesn't return the expected status code. The message is quite clear, but I haven't found a way to tweak the configuration here.

Is there any documentation about the builtin http server? Is there a way to configure it? Maybe it's possible to add config snippets to the "default-local-service" backend somehow?

ivanmatmati commented 1 year ago

Hi @DaveOHenry , currently we don't provide any configuration for the http server. We might consider that option in the future. Can you indicate which size is your header ?

DaveOHenry commented 1 year ago

Hi @ivanmatmati . All headers combined are a little bit over 4KB. The largest one is the "Cookie" header with around 3.5KB.