Initial command filter experiment.

This commit is contained in:
Yossi Gottlieb
2018-02-23 16:19:37 +02:00
parent 8ea906a3e8
commit c3e187190b
6 changed files with 161 additions and 2 deletions

View File

@ -3268,6 +3268,8 @@ void call(client *c, int flags) {
* other operations can be performed by the caller. Otherwise
* if C_ERR is returned the client was destroyed (i.e. after QUIT). */
int processCommand(client *c) {
moduleCallCommandFilters(c);
/* The QUIT command is handled separately. Normal command procs will
* go through checking for replication and QUIT will cause trouble
* when FORCE_REPLICATION is enabled and would be implemented in