Skip to content

fix: MessagePack length encoding

Pre-release
Pre-release
Compare
Choose a tag to compare
@philippseith philippseith released this 26 Aug 14:00
· 413 commits to master since this release
2410339

The length of a MessagePack frame should be encoded as an VarInt of an uint32 (binary.Uvarint), but was encoded as MessagePack int.
This worked only for really small messages.