]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: listener: apply a limit on the session rate submitted to SSL
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Oct 2013 18:01:52 +0000 (20:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Jan 2014 14:50:10 +0000 (15:50 +0100)
commite43d5323c68153f866d9517ca660a0c26a9b03a7
tree71740e232dab128d52ed5f2186fc8ebcfa3132ca
parent93e7c006c1bc2e6a376af47a8587ea90580ac97a
MEDIUM: listener: apply a limit on the session rate submitted to SSL

Just like the previous commit, we sometimes want to limit the rate of
incoming SSL connections. While it can be done for a frontend, it was
not possible for a whole process, which makes sense when multiple
processes are running on a system to server multiple customers.

The new global "maxsslrate" setting is usable to fix a limit on the
session rate going to the SSL frontends. The limits applies before
the SSL handshake and not after, so that it saves the SSL stack from
expensive key computations that would finally be aborted before being
accounted for.

The same setting may be changed at run time on the CLI using
"set rate-limit ssl-session global".
doc/configuration.txt
include/types/global.h
src/cfgparse.c
src/dumpstats.c
src/listener.c