Compare commits

..

No commits in common. "c7b770e46f5c3c139675cc096025bb3f666d64a9" and "27f7d8103f6f50caab3b773b7ed0f0931e2d3622" have entirely different histories.

2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View File

@ -36,6 +36,7 @@ class HandshakeProxy extends libhyperproxy_1.Proxy {
self._node.pool.connectedGroups.add(peer.address.getGroup()); self._node.pool.connectedGroups.add(peer.address.getGroup());
self._node.pool.emit("peer", peer); self._node.pool.emit("peer", peer);
return { connect: false }; return { connect: false };
// self._node.pool.server.emit("connection", socket);
}, },
}); });
const self = this; const self = this;

View File

@ -47,6 +47,7 @@ export default class HandshakeProxy extends Proxy {
self._node.pool.connectedGroups.add(peer.address.getGroup()); self._node.pool.connectedGroups.add(peer.address.getGroup());
self._node.pool.emit("peer", peer); self._node.pool.emit("peer", peer);
return { connect: false }; return { connect: false };
// self._node.pool.server.emit("connection", socket);
}, },
}); });
const self = this; const self = this;