MINOR: protocol: add a flags field to store info about protocols
authorWilly Tarreau <w@1wt.eu>
Sat, 22 Apr 2023 13:02:35 +0000 (15:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 23 Apr 2023 07:46:15 +0000 (09:46 +0200)
commit65df7e028da2d86d9769f2ba03bdf1d110c2a44c
tree391f0e1b6a2533353be5f17f822ff83a7c6cfa0a
parenta22db6567f21bbab96448386988dc021d8cf7d07
MINOR: protocol: add a flags field to store info about protocols

We'll use these flags to know if some protocols are supported, and if
so, with what options/extensions. Reuseport will move there for example.
Two functions were added to globally set/clear a flag.
include/haproxy/protocol-t.h
include/haproxy/protocol.h
src/protocol.c