mirror of
https://github.com/3proxy/3proxy.git
synced 2026-10-16 00:25:48 +08:00
Do not try non-SOCKSv5 proxies for UDPASSOC
This commit is contained in:
parent
8de2be3b3b
commit
f480c9dfe8
@ -352,6 +352,7 @@ int handleredirect(struct clientparam * param, struct ace * acentry){
|
|||||||
}
|
}
|
||||||
if(param->operation == UDPASSOC){
|
if(param->operation == UDPASSOC){
|
||||||
SOCKET s;
|
SOCKET s;
|
||||||
|
if(cur->type != R_SOCKS5 && cur->type != R_SOCKS5P) return 70;
|
||||||
s = param->remsock;
|
s = param->remsock;
|
||||||
param->remsock = INVALID_SOCKET;
|
param->remsock = INVALID_SOCKET;
|
||||||
param->ctrlsocksrv = s;
|
param->ctrlsocksrv = s;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user