Skip to content

fix: don't abort receive loop on invalid message - #110

Merged
Frando merged 4 commits into
mainfrom
Frando/fix-continue-on-bad-message
Jul 15, 2026
Merged

fix: don't abort receive loop on invalid message#110
Frando merged 4 commits into
mainfrom
Frando/fix-continue-on-bad-message

Conversation

@Frando

@Frando Frando commented Jul 6, 2026

Copy link
Copy Markdown
Member

Description

When receiving a message over gossip that fails to decode as Op, the docs engine aborts the receive loop for this topic. Instead we should just skip the message, so that a malicious peer can't disturb a topic as easily.

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-docs/pr/110/docs/iroh_docs/

Last updated: 2026-07-07T07:02:34Z

@n0bot n0bot Bot added this to iroh Jul 6, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Jul 6, 2026
@Frando
Frando merged commit b53c317 into main Jul 15, 2026
25 checks passed
@github-project-automation github-project-automation Bot moved this from 🚑 Needs Triage to ✅ Done in iroh Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants