hiredis
hiredis copied to clipboard
RESP3 Pub/Sub not in line with resp3 specification
Hi there. I noticed, when perusing the documentation for RESP3 (https://github.com/antirez/RESP3/blob/master/spec.md)
>4<CR><LF>
+pubsub<CR><LF>
+message<CR><LF>
+somechannel<CR><LF>
+this is the message<CR><LF>
However, the implementation does not look for the pubsub
line.
The curious thing is that the hiredis client does work with the server implemented by docker container redislab/rejson
, in hello 3
mode.
Even more curious, is that the redis-cli, from the same container, will fail when receiving pub/sub messages in RESP3 mode.
I am unsure about the relation of varous redis projects, how hiredis connects with the redis server, and the RESP3 specification, but I thought I'd remark on this.