Fix build with unbundled poco

Refs: #13405
Cc: @excitoon
This commit is contained in:
Azat Khuzhin 2021-01-22 21:34:41 +03:00
parent 819483fd9a
commit d1d82bc897

View File

@ -120,7 +120,7 @@ namespace
session->setProxyHost(proxy_host);
session->setProxyPort(proxy_port);
#if !defined(ARCADIA_BUILD)
#if defined(POCO_CLICKHOUSE_PATCH)
session->setProxyProtocol(proxy_scheme);
/// Turn on tunnel mode if proxy scheme is HTTP while endpoint scheme is HTTPS.