]> git.kaiwu.me - haproxy.git/commit
MEDIUM: check: Use a new conn-stream for each health-check run
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 12 Apr 2022 15:47:07 +0000 (17:47 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:16 +0000 (15:10 +0200)
commit177a0e60ee7ce172dae1970ed206a51ab615ee13
tree03e9568c5ce700a95115be770120507354b5987f
parent9ed7742673983fc6691c6fe9b706b2c9af36a217
MEDIUM: check: Use a new conn-stream for each health-check run

It is a partial revert of 54e85cbfc ("MAJOR: check: Use a persistent
conn-stream for health-checks"). But with the CS refactoring, the result is
cleaner now. A CS is allocated when a new health-check run is started. The
same CS is then used throughout the run. If there are several connections,
the endpoint is just reset. At the end of the run, the CS is released. It
means, in the tcp-check part, the CS is always defined.
src/check.c