]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: ssl-sock: move the sslconns/totalsslconns counters to global
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 10:15:18 +0000 (12:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:41:14 +0000 (01:41 +0200)
commit82531f67304e0368fc8ede3131e142884401290c
tree30b8d75f9bcde3e8698b6a19f403207bffdfa6c1
parenta8a72c68d513cdd906d83e394396515f7cf885f3
REORG: ssl-sock: move the sslconns/totalsslconns counters to global

These two counters were the only ones not in the global struct, while
the SSL freq counters or the req counts are already in it, this forces
stats.c to include ssl_sock just to know about them. Let's move them
over there with their friends. This reduces from 408 to 384 the number
of includes of opensslconf.h.
include/haproxy/global-t.h
include/haproxy/ssl_sock.h
src/ssl_sock.c
src/stats.c