mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Merge branch 'hedged-requests' of github.com:Avogar/ClickHouse into hedged-requests
This commit is contained in:
commit
c57daf2140
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user