mirror of
https://git.coolaj86.com/coolaj86/telebit-relay.js.git
synced 2025-04-21 19:10:37 +00:00
bugfix
This commit is contained in:
parent
d999107ea8
commit
7216611463
2
serve.js
2
serve.js
@ -162,11 +162,13 @@ function socketToId(socket) {
|
|||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
remotes[token.name] = remote;
|
||||||
rserver.on('data', function (chunk) {
|
rserver.on('data', function (chunk) {
|
||||||
unpacker.fns.addChunk(chunk);
|
unpacker.fns.addChunk(chunk);
|
||||||
});
|
});
|
||||||
|
|
||||||
function closeEm() {
|
function closeEm() {
|
||||||
|
console.log("closing connection to '" + token.name + "'");
|
||||||
delete remotes[token.name];
|
delete remotes[token.name];
|
||||||
|
|
||||||
Object.keys(remote.clients).forEach(function (cid) {
|
Object.keys(remote.clients).forEach(function (cid) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user