Effectively, the header size is 17 556 bytes.

If I increase the bufsize to 40 000 bytes and the maxrewrite to 20 000 the 
request failed.


--
Steve Giraud
________________________________

De : Jarno Huuskonen <[email protected]>
Envoyé : mercredi 6 février 2019 09:36
À : Steve GIRAUD
Cc : [email protected]
Objet : Re: HAProxy returns a 502 error when ssl offload and response has a 
large header

Hi,

On Wed, Feb 06, Steve GIRAUD wrote:
> Hello everybody,
> Has anyone ever found that HAProxy returns a 502 error when ssl offload is 
> enabled and the http response contains a very long header.
> If I turn off SSL offload , all is OK with the same header.

What's the size of the (very long) headers (how many bytes) ?
Is it by any chance larger than the bufsize or maxrewrite ?

> Default settings :
>  maxconn = 2000, bufsize = 16384, maxrewrite = 1024, maxpollevents = 200

-Jarno

--
Jarno Huuskonen

Reply via email to