]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: bit field for proxy_find_best_match diff status
authorBaptiste Assmann <bedis9@gmail.com>
Fri, 3 Jul 2015 09:03:33 +0000 (11:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Jul 2015 21:24:16 +0000 (23:24 +0200)
commit8a027ccb3841b3d8eaec0bf4aba8fe3931e1fff8
tree75f5376ce221390a85d2b9a57489bd7548b80472
parentfac9ccfb705702f211f99e67d5f5d5129002086a
MINOR: proxy: bit field for proxy_find_best_match diff status

function proxy_find_best_match can update the caller by updating an int
provided in argument.
For now, proxy_find_best_match hardcode bit values 0x01, 0x02 and 0x04,
which is not understandable when reading a code exploiting them.

This patch defines 3 macros with a more explicit wording, so further
reading of a code exploiting the magic bit values will be understandable
more easily.
include/types/proxy.h
src/proxy.c