Starbeamrainbowlabs
56939dcc24
By assigning a random connection ID during the initial hello that's both unique to every new connection regardless of target and consistent across both the connection initiator and acceptor, we can do string comparison to determine which string is greater than the other. In doing so, we can ensur the same connection is always terminated, thereby avoiding closing both connections by accident. |
||
---|---|---|
.. | ||
subsystems/http | ||
Agent.mjs | ||
Peer.mjs | ||
PeerServer.mjs |