Merge branch 'hedged-requests' of github.com:Avogar/ClickHouse into hedged-requests

This commit is contained in:
Pavel Kruglov 2021-02-17 20:34:11 +03:00
commit c57daf2140

View File

@ -107,8 +107,7 @@ void Connection::prepare(const ConnectionTimeouts & timeouts)
/// the server know which host we want to talk with (single IP can process requests for multiple hosts using SNI).
static_cast<Poco::Net::SecureStreamSocket *>(socket.get())->setPeerHostName(host);
#else
throw Exception{
"tcp_secure protocol is disabled because poco library was built without NetSSL support.", ErrorCodes::SUPPORT_IS_DISABLED};
throw Exception{"tcp_secure protocol is disabled because poco library was built without NetSSL support.", ErrorCodes::SUPPORT_IS_DISABLED};
#endif
}
else