Update src/IO/HTTPCommon.cpp

Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
alexey-milovidov 2021-01-23 00:43:02 +03:00 committed by GitHub
parent d1d82bc897
commit 3fffa16aab
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(POCO_CLICKHOUSE_PATCH)
#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.