]> git.kaiwu.me - haproxy.git/commit
MINOR: servers: MAke sess_change_server() return the number of requests
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 5 Feb 2026 09:54:06 +0000 (10:54 +0100)
committerOlivier Houchard <cognet@ci0.org>
Mon, 2 Mar 2026 12:46:17 +0000 (13:46 +0100)
commit3eadd5b4eb899ff9961568c97312cf5fe10f09b4
tree7a3bf643031a7d00f33236890d79c4d07ded4c48
parentead5f2747720341ad51409888863720b26f0c32d
MINOR: servers: MAke sess_change_server() return the number of requests

Change sess_change_server() so that when it decrements the number of
requests on the old server, if any, it returns that number to the
caller.
It will be useful to detect if the server was full, and is not anymore.
include/haproxy/stream.h
src/stream.c