mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 02:01:21 +00:00
RESP3: put RESP version in the client structure.
This commit is contained in:
@ -107,6 +107,7 @@ client *createClient(int fd) {
|
||||
uint64_t client_id;
|
||||
atomicGetIncr(server.next_client_id,client_id,1);
|
||||
c->id = client_id;
|
||||
c->resp = 2;
|
||||
c->fd = fd;
|
||||
c->name = NULL;
|
||||
c->bufpos = 0;
|
||||
|
Reference in New Issue
Block a user