]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server/event_hdl: add server_inetaddr struct to facilitate event data usage
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 7 Dec 2023 15:18:39 +0000 (16:18 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Dec 2023 13:22:26 +0000 (14:22 +0100)
commit14893a6a00f24e14dcca5baa335a7f9d78dafc80
treef49840482a76802e6b3f1948e870221c1146bc7d
parent835263047e94fc6493a75b11a4d029c83c3ed00a
MINOR: server/event_hdl: add server_inetaddr struct to facilitate event data usage

event_hdl_cb_data_server_inetaddr struct had some anonymous structs
defined in it, making it impossible to pass as a function argument and
harder to maintain since changes must be performed at multiple places
at once. So instead we define a storage struct named server_inetaddr
that helps to save addr:port server information in INET context.
include/haproxy/server-t.h