]> git.kaiwu.me - haproxy.git/commit
MINOR: peers: move message length constants to peers-t.h
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 18 Nov 2026 10:07:49 +0000 (11:07 +0100)
committerOlivier Houchard <cognet@ci0.org>
Wed, 18 Nov 2026 15:33:22 +0000 (16:33 +0100)
commit88017c5632ef71742b0a4dcb89141eabdf4af402
tree5df95b70ffe6f4ab57ae72514d87b2a77785d680
parente49911ef6a2f1eded2e672bdaf71a4f3775b2c70
MINOR: peers: move message length constants to peers-t.h

PEER_MSG_HEADER_LEN and PEER_MSG_ENC_LENGTH_MAXLEN are needed by the
stick-table code to estimate the size of update messages, so let's
move them out of peers.c.

This is needed by the next commit, so it must be backported along with
it.
include/haproxy/peers-t.h
src/peers.c