Merge pull request #2130 from eosrei/2056/ts-gateway-connect-fail
Removing TS Gateway breaking BIO_clear_flags() call
This commit is contained in:
commit
2de73e0243
@ -168,7 +168,8 @@ static int bio_rdp_tls_read(BIO* bio, char* buf, int size)
|
||||
case SSL_ERROR_SYSCALL:
|
||||
error = WSAGetLastError();
|
||||
if ((error == WSAEWOULDBLOCK) || (error == WSAEINTR) ||
|
||||
(error == WSAEINPROGRESS) || (error == WSAEALREADY))
|
||||
(error == WSAEINPROGRESS) || (error == WSAEALREADY) ||
|
||||
(error == 0))
|
||||
{
|
||||
BIO_set_flags(bio, (BIO_FLAGS_READ | BIO_FLAGS_SHOULD_RETRY));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user