- 05 Jul, 2022 3 commits
-
-
Kristján Valur Jónsson authored
-
Kristján Valur Jónsson authored
-
Kristján Valur Jónsson authored
-
- 26 Jun, 2022 12 commits
-
-
Michael Grunder authored
Use the same name for static and shared libraries
-
Michael Grunder authored
Embed debug information in windows static .lib file
-
Michael Grunder authored
Improved async documentation
-
michael-grunder authored
-
Kristján Valur Jónsson authored
-
Kristján Valur Jónsson authored
-
Michael Grunder authored
Fix async connect on Windows
-
michael-grunder authored
-
Kristján Valur Jónsson authored
-
Kristján Valur Jónsson authored
-
Michael Grunder authored
Fix tests so they work for Redis 7.0
-
michael-grunder authored
* Redis >= 7.0.0 disables the `DEBUG` command by default, which we need for our unit tests. * Downgrade to Redis 6.2.x in macOS temporarily There is a macOS specific TLS error on large payloads when running against 7.x.x so temporarily run our tests against 6.2, while we investigate the root cause.
-
- 04 May, 2022 1 commit
-
-
Michael Grunder authored
Fix warnings on Win64
-
- 24 Apr, 2022 1 commit
-
-
Orgad Shaneh authored
read.c:399:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 399 | obj = (void*)(long)cur->type; | ^
-
- 23 Apr, 2022 4 commits
-
-
Michael Grunder authored
Handle push notifications before or after reply.
-
Michael Grunder authored
Use official repository for redis package.
-
Michael Grunder authored
Whitelist hiredis repo path in cygwin
-
michael-grunder authored
-
- 22 Apr, 2022 2 commits
-
-
Yossi Gottlieb authored
-
Yossi Gottlieb authored
-
- 05 Apr, 2022 2 commits
-
-
Michael Grunder authored
Unsubscribe handling in async
-
Michael Grunder authored
Update hiredis sds with improvements found in redis
-
- 29 Mar, 2022 1 commit
-
-
Orgad Shaneh authored
On all system except MSVC, the targets are different. Unix: libhiredis.so, libhiredis.a MinGW: libhiredis.dll+libhiredis.dll.a, libhiredis.a MSVC: hiredis.dll+hiredis.lib, hiredis_static.lib
-
- 24 Mar, 2022 1 commit
-
-
Kristján Valur Jónsson authored
Using .pdb files with .lib files on windows is very inconvenient, particularly if the .lib file is then linked as part of a different .dll. Chances are that the original .pdb will not be picked up or distributed along with the tooling.
-
- 03 Feb, 2022 1 commit
-
-
Björn Svensson authored
Redis responds to an unsubscribe with one or many replies, depending on the current subscribe state. When channels/patterns names are provided in a command each given name will trigger a reply even if duplicated or not subscribed to. To know when we can return from the subscribed state we need to do bookkeeping on pending additional unsubscribe replies, and make sure we receive them all before switching state.
-
- 02 Feb, 2022 2 commits
-
-
Björn Svensson authored
-
Björn Svensson authored
-
- 01 Feb, 2022 4 commits
-
-
Björn Svensson authored
Equivalent changes introduced to redis sds.c via: https://github.com/redis/redis/pull/8522 https://github.com/redis/redis/pull/9584
-
Björn Svensson authored
Equivalent changes introduced to redis sds.c via: https://github.com/redis/redis/pull/4568
-
Michael Grunder authored
CentOS 8 is EOL, switch to RockyLinux
-
michael-grunder authored
-
- 28 Jan, 2022 1 commit
-
-
Bjorn Svensson authored
* No reuse of the previous reply callback When multiple replies are parsed from a socket in one read a previously found callback might get reused when the current reply has no known callback. This can be triggered by the added testcase which unsubscribe to subscribed (A,B) and a non-subscribed channel (X). Without this correction a callback for wrong channel is called. - In 'unsubscribe B X A', B's callback is called when handling X. - Now this is not done, i.e. there is no callback called for X. * Re-push monitor callback for each reply MONITORING used the same callback for all replies while parsing multiple responses. This handling was changed to avoid calling the wrong callback in some scenarios. Now also change monitorings repush to work with this change. Includes an added async monitoring testcase.
-
- 24 Jan, 2022 1 commit
-
-
Dietmar Scheidl authored
-
- 18 Jan, 2022 2 commits
-
-
MichaelSuen authored
Add timeout to libuv adapter Co-authored-by:
sunmingqi <sunmingqi@corp.netease.com> Co-authored-by:
sunmingqi <smq222@126.com> Co-authored-by:
Michael Grunder <michael.grunder@gmail.com> Co-authored-by:
Viktor Söderqvist <viktor@zuiderkwast.se>
-
Bjorn Svensson authored
* Add test of async commands after unsubscribe Verify that commands are handled after unsubscribing from a channel. A command is sent before the `unsubscribe` response is received, which currently triggers an assert in async.c:567: `redisProcessCallbacks: Assertion `(c->flags & REDIS_SUBSCRIBED || c->flags & REDIS_MONITORING)' failed.` * Handle async commands after an unsubscribe When unsubscribing from the last channel we move from the `subscribe` state to a normal state. These states uses different holders for the command callback information. By moving the callback info during the state change the callback order can be maintained.
-
- 11 Jan, 2022 1 commit
-
-
Bjorn Svensson authored
* Add test of command timeout during pubsub A timeout of a non-subscribe command will be ignored during pubsub. It will be handled as an idle timeout and a response is awaited for. * Correction for command timeout during pubsub Disconnect when a sent non-subscribe command triggers a timeout.
-
- 09 Jan, 2022 1 commit
-
-
Fabrice Fontaine authored
Define hiredis as a C project (and use a single PROJECT statement) to avoid the following build failure if a C++ compiler is not found: CMake Error at CMakeLists.txt:3 (PROJECT): The CMAKE_CXX_COMPILER: /srv/storage/autobuild/run/instance-1/output-1/host/bin/arm-linux-g++ is not a full path to an existing compiler tool. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. The only cpp source file is examples/example-qt.cpp which is never compiled with cmake buildsystem. This file is compiled only with the Makefile buildsystem so perhaps it should be removed. If it is added to the cmake buildsystem, a call to enable_language(CXX) will have to be added. Fixes: - http://autobuild.buildroot.org/results/830ec3398cd29b9fc5cde06a225ef531d7a9d850 Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com>
-