Skip to content

v0.8.2

Compare
Choose a tag to compare
@Stebalien Stebalien released this 25 Apr 07:09
· 4175 commits to master since this release
v0.8.2
ef1cfe7

Fixes two tricky bugs:

  1. Ensures we don't forget addresses observed by connected peers. Previously, this wasn't so bad because our peers would know our addresses, and would be able to direct new peers towards us. However, we'll now tell all of our peers our new address set, so they'll also forget our address :(.
  2. Harden logic around identifying connections.

Note: 2 means that all new streams now wait for identify to complete. Previously, only Connect did this. In practice, this should save time as:

  1. Identify is always one RTT.
  2. Identify starts as soon as we get the connection.
  3. Once identify has completed, all streams can skip the negotiation step.

Otherwise, streams trying to negotiate one of multiple protocols may have to spend several round-trips negotiating.