mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +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).
|
/// 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);
|
static_cast<Poco::Net::SecureStreamSocket *>(socket.get())->setPeerHostName(host);
|
||||||
#else
|
#else
|
||||||
throw Exception{
|
throw Exception{"tcp_secure protocol is disabled because poco library was built without NetSSL support.", ErrorCodes::SUPPORT_IS_DISABLED};
|
||||||
"tcp_secure protocol is disabled because poco library was built without NetSSL support.", ErrorCodes::SUPPORT_IS_DISABLED};
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user