]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: add port for ipcmp as optional criteria
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 1 Dec 2022 16:46:45 +0000 (17:46 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 13:45:43 +0000 (14:45 +0100)
commit21e611dc894550293250cbacebc8e301ae90b124
tree9716408741b1b8fa4e00cd7f6bebc49f51492894
parent8687b63c69f359e0938e939a6c4ca61a42e43446
MINOR: tools: add port for ipcmp as optional criteria

Complete ipcmp() function with a new argument <check_port>. If this
argument is true, the function will compare port values besides IP
addresses and return true only if both are identical.

This commit will simplify QUIC connection migration detection. As such,
it should be backported to 2.7.
include/haproxy/tools.h
src/server.c
src/tools.c