Update base/poco/NetSSL_OpenSSL/src/SecureSocketImpl.cpp

This commit is contained in:
Nikita Mikhaylov 2024-08-25 14:26:21 +02:00 committed by GitHub
parent f7cc3e9c59
commit f38f95a144
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -311,7 +311,7 @@ int SecureSocketImpl::sendBytes(const void* buffer, int length, int flags)
while (mustRetry(rc, remaining_time));
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
if (SSL_get_error(_pSSL, rc) == SSL_ERROR_SYSCALL && SocketImpl::lastError() == POCO_ECONNRESET)
{