REORG: ssl: move ssl_sock_is_ssl() to connection.h and rename it
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 09:38:44 +0000 (11:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
commit1057beecdabb188ae8c47884dca84eef49fa49be
tree7cf5adc2e9f356cb1cc64c3cd938dd75203e9d78
parent340ef2502eae2a37781e460d3590982c0e437fbd
REORG: ssl: move ssl_sock_is_ssl() to connection.h and rename it

This one doesn't use anything from an SSL context, it only checks the
type of the transport layer of a connection, thus it belongs to
connection.h. This is particularly visible due to all the ifdefs
around it in various call places.
include/haproxy/connection.h
include/haproxy/ssl_sock.h
src/connection.c
src/mux_fcgi.c
src/ssl_sock.c
src/tcpcheck.c