Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitor mode works with other data as well #21

Open
BridgeAR opened this issue Feb 6, 2019 · 1 comment
Open

Monitor mode works with other data as well #21

BridgeAR opened this issue Feb 6, 2019 · 1 comment

Comments

@BridgeAR
Copy link

BridgeAR commented Feb 6, 2019

@antirez in the spec you state the following:

The connection can only be used for Pub/Sub or MONITOR once setup in this way

However, when being in MONITOR mode Redis will still respond with regular commands if send by the client being in MONITOR mode. The data is send in addition to the actual monitoring information. I actually have a implementation where I use a regular expression to distinguish regular data from the monitoring information (there is no other way AFAIK).

This should likely either be officially supported or the support for that should be removed. I was not sure if it's best to open here or directly for Redis. Please just move the issue if you feel it is best tracked elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants