CLEANUP: server: always include the storage for SSL settings
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 12:48:37 +0000 (14:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
commit80527bcb9d51d8506c8e7ef95de9c30d30722719
treeab76e861a2730a36d44ffda0d8ea30257cb3d169
parent746e6f3f8efe5646201f8d49d833393bacbc8c02
CLEANUP: server: always include the storage for SSL settings

The SSL stuff in struct server takes less than 3% of it and requires
lots of annoying ifdefs in the code just to take care of the cases
where the field is absent. Let's get rid of this and stop including
openssl-compat from server.c to detect NPN and ALPN capabilities.

This reduces the total LoC by another 0.4%.
include/haproxy/server-t.h
src/server.c