]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: global: always export some SSL-specific metrics
authorWilly Tarreau <w@1wt.eu>
Thu, 15 Jan 2015 20:32:40 +0000 (21:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Jan 2015 20:32:40 +0000 (21:32 +0100)
commitfce03113fa38dba08a7b2ec4d698a421dd3df7b7
tree23c069fc1cabd293e6af1dee866db87356d572b3
parent3ca1a883f914e2830c1b347d3f6c948da41c8f56
MINOR: global: always export some SSL-specific metrics

We'll need to know the number of SSL connections, their use and their
cost soon. In order to avoid getting tons of ifdefs everywhere, always
export SSL information in the global section. We add two flags to know
whether or not SSL is used in a frontend and in a backend.
include/types/global.h
src/ssl_sock.c