Initial version of c->reply_bytes implementation backported from unstable to 2.4, in order to apply issue 327 patches.

This commit is contained in:
antirez
2012-02-15 15:20:05 +01:00
parent 02b984c219
commit 05755f5c40
3 changed files with 28 additions and 0 deletions

View File

@ -339,6 +339,7 @@ typedef struct redisClient {
int multibulklen; /* number of multi bulk arguments left to read */
long bulklen; /* length of bulk argument in multi bulk request */
list *reply;
unsigned long reply_bytes; /* Tot bytes of objects in reply list */
int sentlen;
time_t lastinteraction; /* time of the last interaction, used for timeout */
int flags; /* REDIS_SLAVE | REDIS_MONITOR | REDIS_MULTI ... */