Compare commits

...

2 Commits

Author SHA1 Message Date
9f57b3b638 1.0.11 2019-08-21 13:06:14 +02:00
5df0a53efe fix(core): update 2019-08-21 13:06:13 +02:00
3 changed files with 4 additions and 3 deletions

2
package-lock.json generated
View File

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

View File

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

View File

@ -2,6 +2,7 @@ import * as plugins from './smartproxy.plugins';
import * as interfaces from './interfaces'; import * as interfaces from './interfaces';
import { SmartproxyRouter } from './smartproxy.classes.router'; import { SmartproxyRouter } from './smartproxy.classes.router';
import { Socket } from 'net';
export class SmartProxy { export class SmartProxy {
public httpsServer: plugins.https.Server | plugins.http.Server; public httpsServer: plugins.https.Server | plugins.http.Server;
@ -41,7 +42,7 @@ export class SmartProxy {
key: hostCandidate.privateKey key: hostCandidate.privateKey
}); */ }); */
} }
this.httpsServer.on('upgrade', (req, socket) => { this.httpsServer.on('upgrade', (req, socket: Socket) => {
}) })
this.httpsServer.listen(3000); this.httpsServer.listen(3000);