Modules: first preview 31 March 2016.

This commit is contained in:
antirez
2016-03-06 13:44:24 +01:00
parent 3b644e82b0
commit 6dead2cff5
13 changed files with 2625 additions and 4 deletions

View File

@ -158,7 +158,7 @@ client *createClient(int fd) {
int prepareClientToWrite(client *c) {
/* If it's the Lua client we always return ok without installing any
* handler since there is no socket at all. */
if (c->flags & CLIENT_LUA) return C_OK;
if (c->flags & (CLIENT_LUA|CLIENT_MODULE)) return C_OK;
/* CLIENT REPLY OFF / SKIP handling: don't send replies. */
if (c->flags & (CLIENT_REPLY_OFF|CLIENT_REPLY_SKIP)) return C_ERR;