- 19 Aug, 2021 1 commit
-
-
rouzier authored
Co-authored-by:
James Rouzier <jrouzier@inverse.ca>
-
- 11 Jul, 2021 1 commit
-
-
Meir Shpilraien (Spielrein) authored
When set hiredis will not automatically free replies in an async context, and the replies must be freed instead by the user. Co-authored-by:
Michael Grunder <michael.grunder@gmail.com>
-
- 17 Jun, 2021 1 commit
-
-
michael-grunder authored
-
- 23 May, 2021 1 commit
-
-
michael-grunder authored
Closes #929
-
- 02 May, 2021 3 commits
-
-
Michael Grunder authored
Bugfix: Ignore timeout callback from a successful connect (fixes #945)
-
Michael Grunder authored
improve SSL leak fix redis/hiredis#896
-
Michael Grunder authored
fix(docs): corrects typos in project README
-
- 24 Apr, 2021 1 commit
-
-
plan-do-break-fix authored
-
- 11 Apr, 2021 1 commit
-
-
Hans Zandbelt authored
Free SSL object when redisSSLConnect fails but avoid doing that for callers of redisInitiateSSL who are supposed to manager their own SSL object. Signed-off-by:
Hans Zandbelt <hans.zandbelt@zmartzone.eu>
-
- 08 Apr, 2021 1 commit
-
-
Kristján Valur Jónsson authored
-
- 02 Apr, 2021 2 commits
-
-
michael-grunder authored
Since redisGetReplyFromReader is exposed in a header file, we probably shouldn't modify how it behaves in any way. For this reason, handle the changed logic in an internal static helper method.
-
michael-grunder authored
RESP3 invalidation messages always seemed to be sent before the response to a given command, but it appears this is not always the case: In Redis 6.2.0RC1 Redis sends the invalidation after the HSET in the following sequence: ``` hget hash field $5 value hset hash field value :0 >2 $10 invalidate *1 $4 hash ``` To account for this possibility just wrap redisGetReplyFromReader in a loop as it is called twice in redisGetReply.
-
- 26 Feb, 2021 20 commits
-
-
michael-grunder authored
Updates and improvements to the RESP3 protocol reader. * Fix the unset len field when creating RESP3 double objects * Fix RESP3 double infinity parsing * Add additional validations when parsing various reply types * Fix the parent type assertions in certain default reply object creation callbacks (mostly to include PUSH as a parent). * Additional reader test cases * Implement RESP3 BIGNUM support * Refactor seekNewline() to use memchr()
-
michael-grunder authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
This ensures that malformed RESP3 double messages that include an invalid null byte are not parsed as valid.
-
Alex Smith authored
Per RESP3, push messages are able to contain exactly what array messages can contain (that is, any other type).
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
-
Alex Smith authored
RESP3 bools should be only one of "#t\r\n" or "#f\r\n". We also allow capital 'T' and 'F' to be lenient.
-
Alex Smith authored
-
Alex Smith authored
RESP3 nil should consist of "_\r\n" and nothing else.
-
Alex Smith authored
-
Alex Smith authored
The ',' protocol byte gets removed in processItem(), so it should not be compared against in processLineItem(). strtod() allows multiple representations of infinity and NaN that are not RESP3 compliant. Since we explicitly check for the two compliant infinity cases, strtod() should only return finite values.
-
Alex Smith authored
-
Alex Smith authored
-
- 17 Feb, 2021 2 commits
-
-
Michael Grunder authored
http -> https
-
cheese1 authored
-
- 26 Jan, 2021 2 commits
-
-
Michael Grunder authored
Stack allocate dict iterators
-
Bjorn Svensson authored
Unless the callback is pushed to the list it will trigger an assert in redisProcessCallbacks() when the response arrives. This change let the user get an early error instead, available in the async context directly.
-
- 25 Jan, 2021 1 commit
-
-
Bjorn Svensson authored
Replacing the get & release functions with an initiation function. Simplifies the code and will make sure we run subscription callbacks in OOM scenarios.
-
- 12 Dec, 2020 2 commits
-
-
michael-grunder authored
-
AdamKorcz authored
-
- 11 Dec, 2020 1 commit
-
-
AdamKorcz authored
-