]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: protocol: add a function to check if some features are supported
authorWilly Tarreau <w@1wt.eu>
Sat, 22 Apr 2023 15:39:30 +0000 (17:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 23 Apr 2023 07:46:15 +0000 (09:46 +0200)
commit8a5e6f4cca2396c5c498d9ebbdc12f9624ac6a48
tree2f4a5ef589b3bc5e928082d2af9271382c9820b5
parentc1fbdd6397010690b58786cbb561c9dfdb79e906
MINOR: protocol: add a function to check if some features are supported

The new function protocol_supports_flag() checks the protocol flags
to verify if some features are supported, but will support being
extended to refine the tests. Let's use it to check for REUSEPORT.
include/haproxy/protocol.h
src/listener.c
src/protocol.c