You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gossip max_message_size does not account for overhead #99
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.
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.
Activity
fix!: return an error from `broadcast` for an oversized message
fix!: return an error from `broadcast` for an oversized message
fix: reject oversized messages at the API level (#187)
Frando commentedon Oct 20, 2026
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.