Hi, On Tue, Jul 16, 2013 at 09:05:10PM +0200, pechspilz wrote: > So I have this backend web application which sends a custom header: > X-Bonanza;: abcdefg > > The semicolon is a programming error an obviously doesn't belong there. > While checking HTTP-conformance, haproxy discards the request with PH-- 502. > > I was trying to rspdel the X-Bonanza header but it looks like rspdel is > executed after the conformance-check. Is there any way haproxy will allow > the wrong header through without having to change the backend web app?
Yes, you need to use "option accept-invalid-http-response" to relax the parser. It will not let anything pass through but this one will be OK. It will still cause the invalid responses to be captured, so that you'll be able to monitor them using "show errors" on the stats socket. Cheers, Willy

