On Sun, Dec 10, 2017 at 09:08:37AM +0000, Guillaume Lefranc wrote: > More specifically, should I increase tune.bufsize? It seems that the > default value is 16384 in HAProxy and that it could cause header truncation > above that value. Am I correct?
Yes that's exatly it. Haproxy keeps a reserve for rewrites (tune.maxrewrite) which defaults to 1kB. This explains why it cut at 15360. Be careful when increasing the limit as it can still block at other places along the path. And huge cookies like you have will have to be uploaded with every request from clients and will considerably slow down their access. Willy

