]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proxy: add and use a separate last_change variable for internal use
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 30 Jun 2025 13:45:44 +0000 (15:45 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 30 Jun 2025 14:26:31 +0000 (16:26 +0200)
commit5b1480c9d40dc6f9e4ebe8d0531a1709d9f6c244
tree90cdad4140a31a06da5a31936e2b3b0b7529a173
parent01dfe17acf5b16471482f4f80849d3cddee9b613
MEDIUM: proxy: add and use a separate last_change variable for internal use

Same motivation as previous commit, proxy last_change is "abused" because
it is used for 2 different purposes, one for stats, and the other one
for process-local internal use.

Let's add a separate proxy-only last_change variable for internal use,
and leave the last_change shared (and thread-grouped) counter for
statistics.
include/haproxy/proxy-t.h
src/backend.c
src/proxy.c
src/server.c