Skip to content

Gossip max_message_size does not account for overhead #99

Open

Description

@link2xt

I have set max_message_size to 128 * 1024, but was only able to send 128 * 1024 - 90 bytes of payload.

Doesn't the setting introduced in n0-computer/iroh#2340 control the maximum payload size?

As a workaround I am going to test that I can send 128 * 1000 while setting the limit to 128 * 1024, but this does not seem very robust: chatmail/core#6105
Is there any upper limit on the overhead?

Ideally the setting should control the size of the payload and iroh should add maximum overhead size internall IMO.

Activity

  1. moved this to 📋 Backlog in irohon Nov 27, 2024
  2. transferred this issue fromn0-computer/irohon Sep 23, 2025
  3. Frando commented on Oct 20, 2026

    @Frando
    Member

    Since #187 we return a proper error.
    Changing the meaning of the limit is a potentially wire-breaking change, so it will come once we do a new wire version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions