Merge pull request #19450 from azat/unbundled-poco-build-fix

Fix build with unbundled poco
This commit is contained in:
alexey-milovidov 2021-01-23 12:03:45 +03:00 committed by GitHub
commit 46783454b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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