- 25 Jul, 2023 3 commits
-
-
michael-grunder authored
We merged a fix for a "maybe uninitialized" warning in #1209, but after merging there could actually have then been a double free. The reason is that when compiling with NDEBUG our assert macro becomes a no-op, meaning that execution would no longer stop after `assert(NULL)`. This commit just adds a simple panic macro which will execute regardless of whether NDEBUG is defined or not.
-
michael-grunder authored
See #1206, #1213
-
michael-grunder authored
This commit adds logic to retry our poll call when waiting for the connection to complete, in the event that we are interrupted by a signal. Additionally we do some simple bookkeeping to keep track of the overall timeout specified by the user. Fixes #1206
-
- 14 Jul, 2023 1 commit
-
-
V G authored
-
- 13 Jul, 2023 2 commits
-
-
Romain Geissler authored
-
michael-grunder authored
-
- 12 Jul, 2023 2 commits
-
-
Chayim authored
Co-authored-by:
Michael Grunder <michael.grunder@gmail.com>
-
Valentino Geron authored
-
- 10 Jul, 2023 1 commit
-
-
Yossi Gottlieb authored
This change addresses the issue discussed in #1202 and should make it possible in the future to update minor versions without requiring re-linking binaries.
-
- 08 Jun, 2023 1 commit
-
-
windyakin authored
-
- 01 Jun, 2023 2 commits
-
-
Michael Grunder authored
* Add a test for the TCP_USER_TIMEOUT option. * Explicitly set errno to ENOTSUP on unsupported OS's
-
Yossi Gottlieb authored
-
- 30 May, 2023 2 commits
-
-
Yossi Gottlieb authored
Fixes cross-compilation QEMU CI tests * CI: Update homebrew Redis version. * CI: Try apt-get update as a workaround.
-
Yossi Gottlieb authored
-
- 29 May, 2023 1 commit
-
-
Viktor Söderqvist authored
* Implement redisSetTcpUserTimeout to set socket option TCP_USER_TIMEOUT * Documentation for redisSetTcpUserTimeout and some more undocumented functions Documentation for redisReconnect() and the setters of socket options: * redisKeepAlive() * redisEnableKeepAliveWithInterval() * redisSetTcpUserTimeout()
-
- 24 Apr, 2023 1 commit
-
-
Ozan Tezcan authored
* Add RedisModule adapter * add timer callback, add compatibility helper
-
- 19 Apr, 2023 1 commit
-
-
Jacky Hu authored
-
- 16 Apr, 2023 1 commit
-
-
michael-grunder authored
Adds a test that we don't attempt to set any socket timeout if the connection itself failed. This issue only seemed to occur on macOS but it's nice to have a test for it.
-
- 15 Apr, 2023 1 commit
-
-
michael-grunder authored
-
- 14 Apr, 2023 2 commits
-
-
michael-grunder authored
-
Michael Grunder authored
For reference: https://github.com/redis/redis-specifications/blob/master/protocol/RESP3.md
-
- 13 Mar, 2023 1 commit
-
-
Viktor Söderqvist authored
-
- 09 Mar, 2023 2 commits
-
-
michael-grunder authored
-
Victor Polevoy authored
The installation path for openssl may vary depending on the way used for its installation and the macOS version. This commit attempts to find the correct path for openssl to use.
-
- 08 Mar, 2023 2 commits
-
-
michael-grunder authored
Fixes #1155
-
autoantwort authored
* cmake: build either static or shared libs * cmake: allow to build non-PIC static libs * fix typo * cmake: add ALIAS targets * cmake: link to OpenSSL imported targets CMake imported targets are more robust * turn ENABLE_EXAMPLES to a CMake option * fix typo * install pdb files if shared * fix hiredis_ssl-config file * Fix more targets * CMake knows when to enable CMAKE_POSITION_INDEPENDENT_CODE * Restore setting of /Z7 * [ci] fix building of shared and static libs * Apply suggestions from code review Co-authored-by:
Bjorn Svensson <bjorn.a.svensson@est.tech> * Make it possible to change name of exported target --------- Co-authored-by:
SpaceIm <30052553+SpaceIm@users.noreply.github.com> Co-authored-by:
Bjorn Svensson <bjorn.a.svensson@est.tech>
-
- 24 Feb, 2023 1 commit
-
-
Dominik Charousset authored
* Write a version file for the CMake package > If no VERSION is given, the PROJECT_VERSION variable is used. Since we set the project version to `${VERSION}`, we can safely skip passing it to `write_basic_package_version_file` as well.
-
- 06 Jan, 2023 1 commit
-
-
Till Krüss authored
-
- 27 Dec, 2022 1 commit
-
-
Fabrice Fontaine authored
To allow building hiredis on toolchain without dynamic library support, respect standard cmake BUILD_SHARED_LIBS: https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com>
-
- 21 Dec, 2022 1 commit
-
-
Michael de Lang authored
-
- 16 Nov, 2022 1 commit
-
-
michael-grunder authored
-
- 15 Nov, 2022 1 commit
-
-
michael-grunder authored
-
- 14 Nov, 2022 1 commit
-
-
filipe oliveira authored
-
- 13 Nov, 2022 1 commit
-
-
Michael Grunder authored
See #1138
-
- 10 Nov, 2022 4 commits
-
-
Bjorn Svensson authored
* Build CMake generated makefiles * Simplify and update checkout * Update CI workflow 'C/C++ CI' * Some corrections of spelling and naming. * Remove running on branch dev since not officially available.
-
dachui authored
-
michael-grunder authored
This makes our behavior consistent with redisFree and freeReplyObject.
-
michael-grunder authored
-
- 07 Nov, 2022 1 commit
-
-
michael-grunder authored
- Update changelog. - Bump version/soname defines.
-
- 02 Nov, 2022 1 commit
-
-
michael-grunder authored
- Upgrade to actions/checkout@v3 as node 12 is being phased out. - Perform a manual dnf refresh on RockyLinux during setup. - Switch to official cygwin/cygwin-install-action
-