mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Update base/poco/NetSSL_OpenSSL/src/SecureSocketImpl.cpp
This commit is contained in:
parent
f7cc3e9c59
commit
f38f95a144
@ -311,7 +311,7 @@ int SecureSocketImpl::sendBytes(const void* buffer, int length, int flags)
|
|||||||
while (mustRetry(rc, remaining_time));
|
while (mustRetry(rc, remaining_time));
|
||||||
if (rc <= 0)
|
if (rc <= 0)
|
||||||
{
|
{
|
||||||
// At this stage we still can have last not yet recieved SSL message containing SSL error
|
// At this stage we still can have last not yet received SSL message containing SSL error
|
||||||
// so make a read to force SSL to process possible SSL error
|
// so make a read to force SSL to process possible SSL error
|
||||||
if (SSL_get_error(_pSSL, rc) == SSL_ERROR_SYSCALL && SocketImpl::lastError() == POCO_ECONNRESET)
|
if (SSL_get_error(_pSSL, rc) == SSL_ERROR_SYSCALL && SocketImpl::lastError() == POCO_ECONNRESET)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user