mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 17:12:33 +08:00
fixbug: forgot proxyIP
This commit is contained in:
@@ -190,7 +190,7 @@ async function handleTCPOutBound(remoteSocket, addressType, addressRemote, portR
|
||||
if (!!socks5Address) {
|
||||
tcpSocket = await connectAndWrite(addressRemote, portRemote, true)
|
||||
} else {
|
||||
tcpSocket = await connectAndWrite(addressRemote, portRemote);
|
||||
tcpSocket = await connectAndWrite(proxyIP || addressRemote, portRemote);
|
||||
}
|
||||
// no matter retry success or not, close websocket
|
||||
tcpSocket.closed.catch(error => {
|
||||
|
||||
Reference in New Issue
Block a user