mirror of
https://github.com/fluencelabs/redis
synced 2025-06-17 19:21:21 +00:00
First implementation of the ASKING command. Semantics still to verify.
This commit is contained in:
@ -625,6 +625,8 @@ void resetClient(redisClient *c) {
|
||||
c->reqtype = 0;
|
||||
c->multibulklen = 0;
|
||||
c->bulklen = -1;
|
||||
/* We clear the ASKING flag as well if we are not inside a MULTI. */
|
||||
if (!(c->flags & REDIS_MULTI)) c->flags &= (~REDIS_ASKING);
|
||||
}
|
||||
|
||||
void closeTimedoutClients(void) {
|
||||
|
Reference in New Issue
Block a user