commit | cd1a526a90f1f39a8740e667df88dc88a06959a3 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@exceliance.fr> | Wed May 07 23:11:42 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 08 22:46:32 2014 +0200 |
tree | a7a197abfd4d6cead1563328d7840071bc0033f3 | |
parent | caa19cc86748ebae63343bfe06426fc74eeacd02 [diff] |
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.