update default config

This commit is contained in:
VincentChanX
2017-04-06 10:44:45 +08:00
parent 564e1ce2d0
commit 8360d4d9f3
145 changed files with 2542 additions and 6417 deletions

View File

@@ -110,6 +110,12 @@ TCPRelay.prototype.bootstrap = function() {
this.init();
};
TCPRelay.prototype.stop = function() {
if (this.server) {
this.server.close();
}
};
TCPRelay.prototype.init = function() {
var self = this;
var config = self.config;