- 01 Sep, 2022 1 commit
-
-
Viktor Söderqvist authored
-
- 30 Aug, 2022 1 commit
-
-
Pei-Hsuan Hung authored
Wrapping multi-line macros in do...while(0) statement prevents potential dangling else problem.
-
- 22 Dec, 2021 2 commits
-
-
sundb authored
-
Bjorn Svensson authored
RESP3 allows sending commands in parallell with pubsub handling and these commands might get responded with a REDIS_REPLY_ARRAY. This conflicts with the pubsub response handling for RESP2 and results in a faulty state when using RESP3. Add functionality to keep track of PUSH/RESP3 support on the connection and only expect the message type REDIS_REPLY_PUSH as subscribe messages when once seen.
-
- 07 Oct, 2021 1 commit
-
-
michael-grunder authored
-
- 04 Oct, 2021 1 commit
-
-
michael-grunder authored
-
- 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>
-
- 26 Feb, 2021 1 commit
-
-
Alex Smith authored
-
- 21 Aug, 2020 1 commit
-
-
michael-grunder authored
Fixes #867
-
- 03 Aug, 2020 1 commit
-
-
michael-grunder authored
-
- 31 Jul, 2020 1 commit
-
-
michael-grunder authored
Avoids issues like #860
-
- 29 Jul, 2020 2 commits
-
-
michael-grunder authored
-
Michael Grunder authored
We need to allow our users to use redisContext->privdata as context for any RESP3 PUSH messages, which means we can't use it for managing SSL connections. Bulletpoints: * Create a secondary redisContext member for internal use only called privctx and rename the redisContextFuncs->free_privdata accordingly. * Adds a `free_privdata` function pointer so the user can tie allocated memory to the lifetime of a redisContext (like they can already do with redisAsyncContext) * Enables SSL tests in .travis.yml
-
- 26 Jul, 2020 2 commits
-
-
Michael Grunder authored
Small change to the logic introduced in #839
-
valentinogeron authored
Add an additional timeout so the user has a convenient way of controlling distinct connect and command timeouts
-
- 20 Jul, 2020 1 commit
-
-
Michael Grunder authored
Proper support for RESP3 PUSH messages. By default, PUSH messages are now intercepted and the reply memory freed. This means existing code should work unchanged when connecting to Redis >= 6.0.0 even if `CLIENT TRACKING` were then enabled. Additionally, we define two callbacks users can configure if they wish to handle these messages in a custom way: void redisPushFn(void *privdata, void *reply); void redisAsyncPushFn(redisAsyncContext *ac, void *reply); See #825
-
- 07 Jun, 2020 1 commit
-
-
Michael Grunder authored
Fix overflow bug in `sdsrange`
-
- 19 May, 2020 1 commit
-
-
Michael Grunder authored
Pull RESP3 verbatim string handling from Redis Fixes #802
-
- 28 Feb, 2020 1 commit
-
-
michael-grunder authored
-
- 28 Jan, 2020 1 commit
-
-
Michael Grunder authored
Create allocation wrappers with a configurable OOM handler (defaults to abort()). See #752, #747
-
- 01 Jan, 2020 1 commit
-
-
ShooterIT authored
-
- 01 Sep, 2019 1 commit
-
-
Yossi Gottlieb authored
-
- 29 Aug, 2019 1 commit
-
-
Yossi Gottlieb authored
-
- 09 Aug, 2019 1 commit
-
-
Marcus Geelnard authored
Use _MSC_VER (instead of _WIN32) for things that are specific for Visual Studio. Also remove #include <winsock2.h> from hiredis.h, as it leaks too many symbols and defines into the global namespace, which is undesirable for a public interface header. Anyone who uses the the affected parts of the hiredis API needs to include the appropriate headers anyway in order to declare struct timeval variables.
-
- 04 Aug, 2019 1 commit
-
-
Yossi Gottlieb authored
This corresponds to commits d5c54f0b..bea09a7f in the redis repository.
-
- 13 Apr, 2019 1 commit
-
-
jinjiazhang authored
-
- 01 Apr, 2019 2 commits
- 21 Feb, 2019 1 commit
-
-
Mark Nunberg authored
-
- 20 Feb, 2019 4 commits
-
-
valentino authored
-
Mark Nunberg authored
-
Mark Nunberg authored
This reduces the boilerplate of all the redisConnectXXX functions, and allows us to provide more connection options in the future.
-
Mark Nunberg authored
-
- 26 Sep, 2018 1 commit
-
-
Mark Nunberg authored
This retrieves the actual error which occurred, as getsockopt is not always reliable in this regard.
-
- 25 Sep, 2018 1 commit
-
-
Tom Lee authored
SONAME bumped to 0.14 because we've broken ABI compatibility with 0.13.x
-
- 01 May, 2018 1 commit
-
-
Justin Brewer authored
Since _GNU_SOURCE is now guaranteed to be unset, it is no longer necessary to support the GNU-specific version of strerror_r. Drop __redis_strerror_r from the header, and call strerror_r directly. This breaks any external users of this macro, but they shouldn't have been using it in the first place. Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
- 22 Mar, 2017 1 commit
-
-
Ichito Nagata authored
-
- 25 Oct, 2016 1 commit
-
-
Donald Whyte authored
Remove trailing comma in last value of `redisConnectionType` enum. This causes a compiler warning on Solaris compilers. I'd like to build this on Solaris with `-Werror`. However, due to the trailing comma, I cannot do that. This PR removes the trailing comma, which should prevent it causing compiler warnings on any architecture.
-
- 20 Apr, 2016 1 commit
-
-
Jan-Erik Rediger authored
-
- 18 Nov, 2015 1 commit
-
-
Jan-Erik Rediger authored
strncat might copy n+1 bytes (n bytes from the source plus a terminating nul byte). Also strncat appends after the first found nul byte. But all we pass is a buffer we might not have zeroed out already. Closes #380
-