feat: Loon SOCKS5 UDP

This commit is contained in:
xream
2024-08-26 00:33:22 +08:00
parent 19418b631f
commit 153802c7c4
2 changed files with 6 additions and 1 deletions

View File

@@ -363,6 +363,11 @@ function socks5(proxy) {
// tfo
result.appendIfPresent(`,tfo=${proxy.tfo}`, 'tfo');
// udp
if (proxy.udp) {
result.append(`,udp=true`);
}
return result.toString();
}