Compare commits

...

6 Commits

Author SHA1 Message Date
e9ac7b2347 2.0.8 2021-02-03 00:16:11 +00:00
2c59540768 fix(core): update 2021-02-03 00:16:11 +00:00
0f82d63f5c 2.0.7 2021-02-03 00:13:30 +00:00
b5fcdadd3d fix(core): update 2021-02-03 00:13:29 +00:00
6168b07414 2.0.6 2021-02-02 21:59:55 +00:00
588179335a fix(core): update 2021-02-02 21:59:54 +00:00
3 changed files with 6 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartproxy",
"version": "2.0.5",
"version": "2.0.8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartproxy",
"version": "2.0.5",
"version": "2.0.8",
"private": false,
"description": "a proxy for handling high workloads of proxying",
"main": "dist_ts/index.js",

View File

@ -22,9 +22,11 @@ const portProxyCalls = {
from.end();
to.end();
from.removeAllListeners();
to.removeEventListener();
to.removeAllListeners();
from.unpipe();
to.unpipe();
from.destroy();
to.destroy();
}
netServer = net
.createServer((from) => {
@ -32,6 +34,7 @@ const portProxyCalls = {
host: 'localhost',
port: 8001,
});
from.setTimeout(120000);
from.pipe(to);
to.pipe(from);
from.on('error', () => {