]> git.kaiwu.me - haproxy.git/commit
MAJOR: ssl: Change default locks on ssl session cache.
authorEmeric Brun <ebrun@exceliance.fr>
Wed, 7 May 2014 21:11:42 +0000 (23:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 May 2014 20:46:32 +0000 (22:46 +0200)
commitcd1a526a90f1f39a8740e667df88dc88a06959a3
treea7a197abfd4d6cead1563328d7840071bc0033f3
parentcaa19cc86748ebae63343bfe06426fc74eeacd02
MAJOR: ssl: Change default locks on ssl session cache.

Prevously pthread process shared lock were used by default,
if USE_SYSCALL_FUTEX is not specified.

This patch implements an OS independant kind of lock:
An active spinlock is usedf if USE_SYSCALL_FUTEX is not specified.

The old behavior is still available if USE_PTHREAD_PSHARED=1.
Makefile
src/shctx.c