We are noticing haproxy sometimes converts responses with content-length headers to responses with chunked transfer-encoding and no content length headers. Is it possible to disable this behavior and always have haproxy respect the backend response headers?
Example: request to backend directly
Example: request to via haproxy (note content-length header is dropped and transfer-encoding is introduced)
Our tuning parameters in
tune.maxrewrite 32768 tune.bufsize 65536