commit | 17e6b737d7ca5beda02ae9991eb51a8697ae9d4f | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Fri Feb 25 21:44:27 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Feb 28 17:59:28 2022 +0100 |
tree | 074cf8a13b1d850abcf482c16e3561bb21bbbed0 | |
parent | f09af57df5f7c45ad82a11928d89a4d766d55c3b [diff] |
MINOR: connection: Transform safety check in PROXYv2 parsing into BUG_ON() With BUG_ON() being enabled by default it is more useful to use a BUG_ON() instead of an effectively never-taken if, as any incorrect assumptions will become much more visible. see 488ee7fb6 ("BUG/MAJOR: proxy_protocol: Properly validate TLV lengths")