- 03 4月, 2021 2 次提交
-
-
由 michael-grunder 提交于
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 提交于
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 2月, 2021 20 次提交
-
-
由 michael-grunder 提交于
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 提交于
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
This ensures that malformed RESP3 double messages that include an invalid null byte are not parsed as valid.
-
由 Alex Smith 提交于
Per RESP3, push messages are able to contain exactly what array messages can contain (that is, any other type).
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
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 提交于
-
由 Alex Smith 提交于
RESP3 nil should consist of "_\r\n" and nothing else.
-
由 Alex Smith 提交于
-
由 Alex Smith 提交于
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 提交于
-
由 Alex Smith 提交于
-
- 18 2月, 2021 1 次提交
-
-
由 Michael Grunder 提交于
http -> https
-
- 17 2月, 2021 1 次提交
-
-
由 cheese1 提交于
-
- 27 1月, 2021 1 次提交
-
-
由 Michael Grunder 提交于
Stack allocate dict iterators
-
- 26 1月, 2021 1 次提交
-
-
由 Bjorn Svensson 提交于
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 1月, 2021 1 次提交
-
-
由 Bjorn Svensson 提交于
Replacing the get & release functions with an initiation function. Simplifies the code and will make sure we run subscription callbacks in OOM scenarios.
-
- 13 12月, 2020 2 次提交
-
-
由 michael-grunder 提交于
-
由 AdamKorcz 提交于
-
- 11 12月, 2020 1 次提交
-
-
由 AdamKorcz 提交于
-
- 16 11月, 2020 1 次提交
-
-
由 Michael Grunder 提交于
Free SSL object when redisSSLConnect fails
-
- 11 11月, 2020 1 次提交
-
-
由 Aleksandr Yeganov 提交于
-
- 28 10月, 2020 2 次提交
-
-
由 Michael Grunder 提交于
Updating SSL connection example in README
-
由 Jeremy Cohen 提交于
-
- 19 10月, 2020 4 次提交
-
-
由 Michael Grunder 提交于
Add support for Wincert CA store in Windows
-
由 michael-grunder 提交于
-
由 Michael Grunder 提交于
Enable position-independent code, and add PDB files to packages for MSVC builds
-
由 Michael Grunder 提交于
Fix handling of NIL invalidation messages.
-
- 18 10月, 2020 1 次提交
-
-
由 michael-grunder 提交于
When CLIENT TRACKING is enabled, Redis will send an invalidation message with a NIL payload to all tracking clients after a FLUSHDB is executed. We didn't account for REDIS_REPLY_PUSH being a valid parent object to a NIL payload, and were failing an assertion. Additionally this commit adds a regression test for the logic.
-
- 13 10月, 2020 1 次提交
-
-
由 Michael Grunder 提交于
clean a warning, remvoe empty else block
-