mirror of
https://github.com/avwo/whistle.git
synced 2026-10-25 03:10:02 +08:00
avoid throw out error
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ function handleWebsocket(socket, wss, callback) {
|
||||
if (util.isLocalAddress(ip) && (!options.port || options.port == config.port)) {
|
||||
return execCallback(new Error('Unable to agent to itself (' + ip + ':' + config.port + ')'));
|
||||
}
|
||||
util.connectProxy({
|
||||
util.connect({
|
||||
isSocks: isSocks,
|
||||
host: ip,
|
||||
port: options.port,
|
||||
|
||||
Reference in New Issue
Block a user