antirez
e75a2b8500
ACL: initialization function.
2019-01-10 16:39:32 +01:00
antirez
29c88a9ce5
ACL: initialization function.
2019-01-10 16:39:32 +01:00
antirez
6771d47230
ACL: add a reference to the user in each client.
2019-01-10 16:34:13 +01:00
antirez
4278104acc
ACL: add a reference to the user in each client.
2019-01-10 16:34:13 +01:00
antirez
9633476699
ACL: improved version of the user structure.
2019-01-10 12:47:52 +01:00
antirez
4729f71495
ACL: improved version of the user structure.
2019-01-10 12:47:52 +01:00
antirez
cc5222bd7a
ACL: use a fixed table for command IDs.
2019-01-09 21:31:29 +01:00
antirez
7fc882c578
ACL: use a fixed table for command IDs.
2019-01-09 21:31:29 +01:00
antirez
a571c99587
ACL: introduce the concept of command ID.
2019-01-09 17:20:47 +01:00
antirez
91f1d8026b
ACL: introduce the concept of command ID.
2019-01-09 17:20:47 +01:00
antirez
106977aaf9
ACL: refactoring of the original authentication code.
2019-01-09 17:00:30 +01:00
antirez
b43d70df56
ACL: refactoring of the original authentication code.
2019-01-09 17:00:30 +01:00
antirez
5190cbe08f
RESP3: addReplyString() -> addReplyProto().
...
The function naming was totally nuts. Let's fix it as we break PRs
anyway with RESP3 refactoring and changes.
2019-01-09 17:00:30 +01:00
antirez
709a6612eb
RESP3: addReplyString() -> addReplyProto().
...
The function naming was totally nuts. Let's fix it as we break PRs
anyway with RESP3 refactoring and changes.
2019-01-09 17:00:30 +01:00
antirez
e936aaf5fc
RESP3: verbatim reply API + DEBUG PROTOCOL support.
2019-01-09 17:00:30 +01:00
antirez
e291170385
RESP3: verbatim reply API + DEBUG PROTOCOL support.
2019-01-09 17:00:30 +01:00
antirez
e5241b6e58
RESP3: addReplyBool() implemented.
2019-01-09 17:00:29 +01:00
antirez
809e3a44a7
RESP3: addReplyBool() implemented.
2019-01-09 17:00:29 +01:00
antirez
75a6d12dd0
RESP3: initial implementation of the HELLO command.
2019-01-09 17:00:29 +01:00
antirez
4f0860cbfd
RESP3: initial implementation of the HELLO command.
2019-01-09 17:00:29 +01:00
antirez
92c9429d17
RESP3: restore the concept of null array for RESP2 compat.
2019-01-09 17:00:29 +01:00
antirez
3fd78f41e8
RESP3: restore the concept of null array for RESP2 compat.
2019-01-09 17:00:29 +01:00
antirez
d266105a45
RESP3: add shared.nullarray for better RESP2 compat.
2019-01-09 17:00:29 +01:00
antirez
2ad6e875ba
RESP3: add shared.nullarray for better RESP2 compat.
2019-01-09 17:00:29 +01:00
antirez
0dbdaab2a1
RESP3: addReplyNullArray() added for better RESP2 compat.
2019-01-09 17:00:29 +01:00
antirez
1a17cdfadf
RESP3: addReplyNullArray() added for better RESP2 compat.
2019-01-09 17:00:29 +01:00
antirez
7872d57d27
RESP3: most null replies converted.
2019-01-09 17:00:29 +01:00
antirez
317f8b9d38
RESP3: most null replies converted.
2019-01-09 17:00:29 +01:00
antirez
8413c6f107
RESP3: addReplyNull() added.
2019-01-09 17:00:29 +01:00
antirez
1b7298e66a
RESP3: addReplyNull() added.
2019-01-09 17:00:29 +01:00
antirez
a039a1bc3c
RESP3: remove other pointless shared object.
2019-01-09 17:00:29 +01:00
antirez
fc9a3de97d
RESP3: remove other pointless shared object.
2019-01-09 17:00:29 +01:00
antirez
ee2564e90e
RESP3: remove certain constants to spot places to fix.
2019-01-09 17:00:29 +01:00
antirez
b7e8b734c9
RESP3: remove certain constants to spot places to fix.
2019-01-09 17:00:29 +01:00
antirez
342f336398
RESP3: bring RESP2 compatibility to previous changes.
2019-01-09 17:00:29 +01:00
antirez
13966522ea
RESP3: bring RESP2 compatibility to previous changes.
2019-01-09 17:00:29 +01:00
antirez
76fa77f9d5
RESP3: addReply*Len() support for RESP2 backward comp.
2019-01-09 17:00:29 +01:00
antirez
e14aabf936
RESP3: addReply*Len() support for RESP2 backward comp.
2019-01-09 17:00:29 +01:00
antirez
6fbf149112
RESP3: put RESP version in the client structure.
2019-01-09 17:00:29 +01:00
antirez
1ac6926647
RESP3: put RESP version in the client structure.
2019-01-09 17:00:29 +01:00
antirez
33374b02bf
RESP3: Use new deferred len API in server.c.
2019-01-09 17:00:29 +01:00
antirez
073293693e
RESP3: Use new deferred len API in server.c.
2019-01-09 17:00:29 +01:00
antirez
1c82be419f
RESP3: Aggregate deferred lengths functions.
2019-01-09 17:00:29 +01:00
antirez
57c5a766a2
RESP3: Aggregate deferred lengths functions.
2019-01-09 17:00:29 +01:00
antirez
27f6e9bb9b
Modules shared API: initial core functions.
...
Based on ideas and code in PR #5560 by @MeirShpilraien.
2018-12-20 17:57:35 +01:00
antirez
850b64c116
Revert shared APIs to modify the design.
2018-12-20 17:56:38 +01:00
MeirShpilraien
ab37289fa6
added module ability to register api to be used by other modules
2018-12-20 17:55:18 +01:00
antirez
b166aff1bf
freeMemoryIfNeeded() small refactoring.
...
Related to issue #5686 and PR #5689 .
2018-12-12 11:37:15 +01:00
antirez
129f2d2746
freeMemoryIfNeeded() small refactoring.
...
Related to issue #5686 and PR #5689 .
2018-12-12 11:37:15 +01:00
antirez
fc4b1319d0
Reject EXEC containing write commands against RO replica.
...
Thanks to @soloestoy for discovering this issue in #5667 .
This is an alternative fix in order to avoid both cycling the clients
and also disconnecting clients just having valid read-only transactions
pending.
2018-12-11 11:39:21 +01:00