[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)
committerAndriy Senkovych <jolly_roger@itblog.org.ua>
Wed, 16 Nov 2016 22:46:01 +0000 (22:46 +0000)
commit01776e9907f61215beae4e3e64f0ce8b8a79efa7
tree85281787592d12e02710e7b8241fd439a623d965
parent8b22b8b481d0f8b89338accefb393f962b19d594
[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