]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: connection: Indicate unreachability to the compiler in conn_recv_proxy
authorTim Duesterhus <tim@bastelstu.be>
Fri, 25 Feb 2022 20:44:26 +0000 (21:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Feb 2022 16:59:28 +0000 (17:59 +0100)
commitf09af57df5f7c45ad82a11928d89a4d766d55c3b
treecc00e63c3ac93a2c1efc1a106ebc6f8368f8738f
parent5a001a0e4d0ee2f877a5907045b11db5bc246170
CLEANUP: connection: Indicate unreachability to the compiler in conn_recv_proxy

Transform the unreachability comment into a call to `my_unreachable()` to allow
the compiler from benefitting from it.

see d1b15b6e9 ("MINOR: proxy_protocol: Ingest PP2_TYPE_UNIQUE_ID on incoming connections")
see 615f81eb5 ("MINOR: connection: Use a `struct ist` to store proxy_authority")
src/connection.c