[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)
committerAndrii Senkovych <andrii@senkovych.com>
Sun, 26 Aug 2018 12:30:36 +0000 (13:30 +0100)
commitca6153c314bbba8b4d227d6cbc7ba5a72885c60b
tree70dc1f4329fd0b83b656611e61821d784f2336e7
parent4f794b90176b00b515de639fade74c61403e9ef7
[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