mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
v4.10-9505-beta
This commit is contained in:
1 parent
16b713b98d
commit
10d4b2c43d
349 files changed
+2640
-898
No files matched your search
@@ -2707,6 +2707,12 @@ bool ServerAccept(CONNECTION *c)
|
||||
}
|
||||
}
|
||||
|
||||
if (use_encrypt == false && c->FirstSock->IsReverseAcceptedSocket)
|
||||
{
|
||||
// On VPN Azure, SSL encryption is mandated.
|
||||
use_encrypt = true;
|
||||
}
|
||||
|
||||
if (use_client_license || use_bridge_license)
|
||||
{
|
||||
// Examine whether not to conflict with the limit of simultaneous connections
|
||||
@@ -6939,7 +6945,7 @@ SOCK *TcpConnectEx3(char *hostname, UINT port, UINT timeout, bool *cancel_flag,
|
||||
if (hWnd == NULL)
|
||||
{
|
||||
#endif // OS_WIN32
|
||||
return ConnectEx3(hostname, port, timeout, cancel_flag, (no_nat_t ? NULL : VPN_RUDP_SVC_NAME), nat_t_error_code, try_start_ssl, ssl_no_tls, false);
|
||||
return ConnectEx3(hostname, port, timeout, cancel_flag, (no_nat_t ? NULL : VPN_RUDP_SVC_NAME), nat_t_error_code, try_start_ssl, ssl_no_tls, true);
|
||||
#ifdef OS_WIN32
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user