dgl / protocol-redis-xs

hiredis based parser compatible with Protocol::Redis
http://search.cpan.org/dist/Protocol-Redis-XS
Other
8 stars 5 forks source link

Add support for decoding raw data #4

Closed jhthorsen closed 5 years ago

jhthorsen commented 5 years ago

Hello, and thank you for your work on this module.

I was wondering if you could add support for decoding binary data?

I'm trying to read/write data serialised with Storable in my module Mojo::Redis::Cache, but I have to use Protocol::Redis for this, instead of your module.

I can reproduce the bug by running the following test in my project below:

TEST_XS=1 MOJO_REDIS_DEBUG=1 TEST_ONLINE=redis://localhost prove -vl t/cache.t

Omitting TEST_XS=1 makes the test successful.

Grinnz commented 5 years ago

Fixed by #2