Skip to content

v0.9.4

Compare
Choose a tag to compare
@Stebalien Stebalien released this 03 Jun 23:17
· 4048 commits to master since this release
67eb8b1

This is a bug fix release to chunk identify responses if they exceed the size limit.

Unfortunately, since time immortal, go-libp2p has had a default identify message limit of 2048 bytes. When we added signed peer records, we ended up exceeding this limit for 4096 bit RSA keys. In this release, we:

  1. Have bumped the limit to 8192 bytes.
  2. Allow sending the identify message in multiple chunks.
  3. Read all chunks off the stream and merge them.

The second two parts are, admittedly, hacks that we'll hopefully be able to remove eventually, once enough peers support the raised message size limit. See #954 for details.

Note: this is considered a backwards compatible bug fix because it only applies when the identify message was too big to send anyways.