Re: [RFC] [PATCH] BUG: http-ana: fix crash or wrong header deletion by http-restrict-req-hdr-names

2022-08-16 Thread Willy Tarreau
Hi Mateusz, On Tue, Aug 16, 2022 at 11:58:02PM +, hapr...@sl.damisa.net wrote: > Hi, > > as suggested by Willy on GitHub, I'm submitting my patch for > https://github.com/haproxy/haproxy/issues/1822. Thank you! > This is my first contribution, so I'm tagging it as RFC for now ;) > > I'm

[RFC] [PATCH] BUG: http-ana: fix crash or wrong header deletion by http-restrict-req-hdr-names

2022-08-16 Thread haproxy
Hi, as suggested by Willy on GitHub, I'm submitting my patch for https://github.com/haproxy/haproxy/issues/1822. This is my first contribution, so I'm tagging it as RFC for now ;) I'm not entirely happy with using goto (suggested by Tim) to avoid hitting htx_get_next_blk call at the end of the