MEDIUM: httpclient: re-enable the verify by default

Since the httpclient verify now has a fallback which disable the SSL in
the httpclient without exiting haproxy at startup, we can safely
re-enable it by default.

It could still be disabled with "httpclient-ssl-verify none".
This commit is contained in:
William Lallemand 2022-04-26 12:00:06 +02:00
parent 4cfbf3c014
commit f1344b3cee

View File

@ -41,7 +41,7 @@ static struct proxy *httpclient_proxy;
static struct server *httpclient_srv_raw; static struct server *httpclient_srv_raw;
#ifdef USE_OPENSSL #ifdef USE_OPENSSL
static struct server *httpclient_srv_ssl; static struct server *httpclient_srv_ssl;
static int httpclient_ssl_verify = SSL_SOCK_VERIFY_NONE; static int httpclient_ssl_verify = SSL_SOCK_VERIFY_REQUIRED;
#endif #endif
static struct applet httpclient_applet; static struct applet httpclient_applet;