mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 01:59:53 +03:00
Mayaqua/Network.c: Fix UDP send error when used with reverse proxy
This commit is contained in:
parent
b7e7d3b028
commit
934e49fea0
@ -11226,7 +11226,7 @@ UINT SendToEx(SOCK *sock, IP *dest_addr, UINT dest_port, void *data, UINT size,
|
||||
Debug("SendTo Error; %u\n", e);
|
||||
}
|
||||
#else // OS_WIN32
|
||||
if (errno == ECONNREFUSED || errno == ECONNRESET || errno == EMSGSIZE || errno == ENOBUFS || errno == ENOMEM || errno == EINTR)
|
||||
if (errno == ECONNREFUSED || errno == ECONNRESET || errno == EMSGSIZE || errno == ENOBUFS || errno == ENOMEM || errno == EINTR || errno == EINVAL)
|
||||
{
|
||||
sock->IgnoreSendErr = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user