mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
This counter must be incremented only one time by connection and decremented as soon as the handshake has failed or succeeded. This is a gauge. Under certain conditions this counter could be decremented twice. For instance after having received a TLS alert, then upon SSL_do_handshake() failure. To stop having to deal to all the current combinations which can lead to such a situation (and the next to come), add a connection flag to denote if this counter has been already decremented for a connection. So, this counter must be decremented only if this flag has not been already set. Must be backported up to 2.6.