diff --git a/src/IO/HTTPCommon.cpp b/src/IO/HTTPCommon.cpp index 6a3ebb97734..c869b212595 100644 --- a/src/IO/HTTPCommon.cpp +++ b/src/IO/HTTPCommon.cpp @@ -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.