This commit is contained in:
AJ ONeal 2016-10-12 13:14:16 -06:00
parent 7e8f90a89f
commit 1ceb55cf57
1 changed files with 1 additions and 3 deletions

View File

@ -73,8 +73,8 @@ function run(copts) {
, remotePort: opts.port
}, function () {
//console.log("[=>] first packet from tunneler to '" + cid + "' as '" + opts.service + "'", opts.data.byteLength);
// this will happen before 'data' is triggered
localclients[cid].write(opts.data);
//localclients[cid].resume();
});
// 'data'
/*
@ -115,8 +115,6 @@ function run(copts) {
console.info("[end] closing client '" + cid + "' for '" + servername + "' (" + (handlers._numClients() - 1) + " clients)");
handlers._onLocalClose(cid, opts);
});
//localclients[cid].pause();
//localclients[cid].write(opts.data);
}
, onend: function (opts) {
var cid = Packer.addrToId(opts);