]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: extend the flags to 32 bits
authorWilly Tarreau <w@1wt.eu>
Mon, 23 Jan 2017 20:38:57 +0000 (21:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Jan 2017 17:49:27 +0000 (18:49 +0100)
commitc0752565fe13fb040a5437f6c326a6f78a3b9d2b
tree9e5368465beccb1d156f8f4a84a567ada8e1762b
parent9484179f328bc7c7ae7c6c2fb404b761b256b73e
MINOR: server: extend the flags to 32 bits

Right now not only we're limited to 8 bits, but it's mentionned nowhere
and the limit was already reached. In addition, pp_opts (proxy protocol
options) were set to 32 bits while only 3 are needed. So let's swap
these two and group them together to avoid leaving two holes in the
structure, saving 64 bits on 64-bit machines.
include/types/server.h