hiredis icon indicating copy to clipboard operation
hiredis copied to clipboard

RESP3 Pub/Sub not in line with resp3 specification

Open kristjanvalur opened this issue 3 years ago • 0 comments

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.

kristjanvalur avatar Apr 13 '21 08:04 kristjanvalur