]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: disable shared memory and locks on session cache if nbproc == 1
authorEmeric Brun <ebrun@exceliance.fr>
Mon, 24 Sep 2012 13:48:52 +0000 (15:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Oct 2012 06:34:38 +0000 (08:34 +0200)
commit4b3091e54e29829afad1a2af994ff75c39793e59
tree4a63e0f07abe4b46fdc2f2603cb4a2297b9a7be4
parent3603fbe0af68f0d88a5a69cbe973845a1ffef294
MINOR: ssl: disable shared memory and locks on session cache if nbproc == 1

We don't needa to lock the memory when there is a single process. This can
make a difference on small systems where locking is much more expensive than
just a test.
include/proto/shctx.h
src/cfgparse.c
src/shctx.c