mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-30 14:31:08 +01:00
BUILD: fix build issue without USE_OPENSSL
The SSL check referenced use_ssl which only exists when USE_OPENSSL is set.
This commit is contained in:
parent
6c16adc661
commit
e6baecfe23
@ -4570,11 +4570,12 @@ stats_error_parsing:
|
||||
* same as for the production traffic. Otherwise we use raw_sock by
|
||||
* default, unless one is specified.
|
||||
*/
|
||||
#ifdef USE_OPENSSL
|
||||
if (!newsrv->check.port && !is_addr(&newsrv->check.addr)) {
|
||||
newsrv->check.use_ssl |= newsrv->use_ssl;
|
||||
newsrv->check.send_proxy |= (newsrv->state & SRV_SEND_PROXY);
|
||||
}
|
||||
|
||||
#endif
|
||||
/* try to get the port from check.addr if check.port not set */
|
||||
if (!newsrv->check.port)
|
||||
newsrv->check.port = get_host_port(&newsrv->check.addr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user