Compare commits
No commits in common. "17455db38db6aaeb0cd93488c2c3dd6a498f11f6" and "37cbac3435d2dd2f3579b26fd5154e7b7040bc7c" have entirely different histories.
17455db38d
...
37cbac3435
|
@ -19,7 +19,7 @@ class HandshakeProxy extends libhyperproxy_1.Proxy {
|
||||||
listen,
|
listen,
|
||||||
autostart: true,
|
autostart: true,
|
||||||
protocol: PROTOCOL,
|
protocol: PROTOCOL,
|
||||||
async onopen(inboundPeer, socket) {
|
async onopen(socket) {
|
||||||
const peer = net_1.Peer.fromInbound(self._node.pool.options, socket);
|
const peer = net_1.Peer.fromInbound(self._node.pool.options, socket);
|
||||||
peer.connected = false;
|
peer.connected = false;
|
||||||
peer.outbound = true;
|
peer.outbound = true;
|
||||||
|
|
|
@ -36,7 +36,7 @@ export default class HandshakeProxy extends Proxy {
|
||||||
listen,
|
listen,
|
||||||
autostart: true,
|
autostart: true,
|
||||||
protocol: PROTOCOL,
|
protocol: PROTOCOL,
|
||||||
async onopen(inboundPeer, socket: Socket) {
|
async onopen(socket: Socket) {
|
||||||
const peer = HNSPeer.fromInbound(self._node.pool.options, socket);
|
const peer = HNSPeer.fromInbound(self._node.pool.options, socket);
|
||||||
peer.connected = false;
|
peer.connected = false;
|
||||||
peer.outbound = true;
|
peer.outbound = true;
|
||||||
|
|
Loading…
Reference in New Issue