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
For more context go-ssb performs a check which ensures that the message JSON (by definition stored as Unicode text) is no longer than 8192 code points. This is theoretically different than measuring bytes.
Both measuring bytes and code points is valid but I don't know what was the original intention.
Measuring bytes theoretically requires another piece of knowledge: how the message is supposed to be encoded eg. UTF-8, UTF-16 etc so it is important to make that distinction. The JSON standard obviously doesn't define that but classic feed messages are encoded as UTF-16.
staltz
changed the title
Missing message size limit 8192 bytes
Missing message size limit 8192 characters
Oct 10, 2022
Context: ssbc/ssb-classic#2
The text was updated successfully, but these errors were encountered: