Skip to content

peer v0.5.3

Choose a tag to compare

@caoer caoer released this 11 Nov 04:12
· 4 commits to main since this release

peer v0.5.3 — GPL-3.0. peer serve stops re-pulling what its push sockets already delivered.

  • A serve round no longer pulls a channel or room whose push socket is open, whose last pull read to the relay's end, and whose cursor is at or past every frame the socket carried. A held card, a seat not yet on the root, a failed step, or a closed or refused socket keeps the round pulling as before. Each open and reconnect still pulls, as the wire contract requires.
  • With every socket up, a round makes no relay pulls, so --every is only the backstop for a socket that is down. No wire or relay change: works against any relay with push, and against one without it as before.

Install: go install github.com/caoer/peer/cmd/peer@v0.5.3 (Go 1.26 or later), or a binary below; check it against SHA256SUMS. Both report their version with peer version.

The binaries are reproducible: VERSION=v0.5.3 scripts/release-build.sh in a checkout of the tag (go1.27.3) builds the same bytes.

Protocol: https://page.sui.pics/a/peer-protocol-2ff24d5d4d58ff5b/doc.md