mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-30 14:31:08 +01:00
commit 9ede66b0 introduced an environment variable (HAPROXY_SERVER_CURCONN) that was supposed to be dynamically updated, but it was set only once, during its initialization. Most of the code provided in this previous patch has been rewritten in order to easily update the environment variables without reallocating memory during each check. Now, HAPROXY_SERVER_CURCONN will contain the current number of connections on the server at the time of the check.