BUILD: xprt: use an initcall to register the transport layers
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Apr 2022 17:18:24 +0000 (19:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Apr 2022 17:18:24 +0000 (19:18 +0200)
commit79367f9a8d777e1199b7f159527f376832917e28
tree56355a0f06db0b611309fa68820eb1d5e6617de0
parent740d749d77060c393f2ff6462ee72f7745ca3d90
BUILD: xprt: use an initcall to register the transport layers

Transport layers (raw_sock, ssl_sock, xprt_handshake and xprt_quic)
were using 4 constructors and 2 destructors. The 4 constructors were
replaced with INITCALL and the destructors with REGISTER_POST_DEINIT()
so that we do not depend on this anymore.
src/raw_sock.c
src/ssl_sock.c
src/xprt_handshake.c
src/xprt_quic.c