[PATCH] Use msgpack_pack_v4raw(_body) with new msgpack-c versions
authorJames McCoy <jamessan@jamessan.com>
Wed, 15 Jun 2016 13:26:20 +0000 (09:26 -0400)
committerSandro Tosi <morph@debian.org>
Fri, 10 Apr 2020 06:40:29 +0000 (07:40 +0100)
commit6e9f54b6f37fb26d0024e1823b8b136ec66ad56b
tree0468262eba2decbcc277b3a48395db0a17d1a0d0
parentd2218234749493213f663708d9e3af32b511a9ff
[PATCH] Use msgpack_pack_v4raw(_body) with new msgpack-c versions

In msgpack-c's 1.0.0 release, the code was changed to be compatible with
the v5 msgpack spec, specifically separating out the STR and BIN types
as replacements for the old RAW type.

While the STR type is likely the right replacement type to use, it does
introduce a str 8 variant that wasn't present for the old RAW type.  For
better compatibility, the msgpack_pack_v4raw functions were added to
directly map to the old functionality.

Signed-off-by: James McCoy <jamessan@jamessan.com>
Gbp-Pq: Name msgpack-compat.patch
formats/msgpack.c