add basic support for websocket proxy

This commit is contained in:
砚然
2017-12-12 20:07:06 +08:00
parent e54fb23daa
commit 60bc1498ae
24 changed files with 808 additions and 149 deletions

View File

@@ -305,7 +305,7 @@ KoaServer.prototype.start = function () {
});
});
wss.on('error', e => console.error('erro happened in wss:%s', error));
wss.on('error', e => console.error('error happened in wss:%s', e));
self.httpsServer.listen(HTTPS_PORT);