This commit is contained in:
avwo
2015-07-19 19:40:41 +08:00
parent be40cfea4a
commit a75bb5689c
+1 -1
View File
@@ -83,7 +83,7 @@ function handleWebsocket(socket, wss, callback) {
reqEmitter.dnsTime = Date.now() - now;
reqEmitter.emit('send');
if (util.isLocalAddress(ip) && (!options.port || options.port == config.port)) {
return execCallback(new Error('Unable to agent to itself( ' + ip + ':' + config.port + ')'));
return execCallback(new Error('Unable to agent to itself (' + ip + ':' + config.port + ')'));
}
connect(socket, function(err, proxySocket) {
if (err) {