"proxyByName" is now disabled by default because most browsers do not support SOCKS authentication

This commit is contained in:
Zachary Boyd 2018-09-11 19:39:30 -04:00
parent 2f57082394
commit d2b64ad796
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "tor-router",
"version": "4.0.0",
"version": "4.0.1",
"main": "src/index.js",
"repository": "git@github.com:znetstar/tor-router.git",
"author": "Zachary Boyd <zachary@zacharyboyd.nyc>",

View file

@ -32,7 +32,7 @@ class TorProcess extends EventEmitter {
this.tor_path = tor_path;
this.granax_options = granax_options;
this.control_password = crypto.randomBytes(128).toString('base64');
this._id = nanoid();
this._id = nanoid(12);
this.tor_config.DataDirectory = this.tor_config.DataDirectory || temp.mkdirSync();
}
@ -43,7 +43,7 @@ class TorProcess extends EventEmitter {
resolve();
});
});
this.process.kill('SIGINT');
await p;