- 01 Sep, 2022 6 commits
-
-
Anton Tiurin authored
Internally uv_poll_start iterates over all attached event handlers to update event mask. It's quite expensive operation if there many event handlers attached to a loop. As redisLibuvEvents.events is a copy of what libuv should see, we can rely on it to avoid event mask updates. Signed-off-by:
Anton Tiurin <noxiouz@yandex.ru>
-
Tongliang Liao authored
CMake config files were installed to `/usr/local/share/hiredis`, which is not recognizable by `find_package()`. I'm not sure why it was set that way. Given the commit introducing it is for Windows, I keep that behavior consistent there, but fix the rest.
-
Viktor Söderqvist authored
-
Björn Svensson authored
-
Björn Svensson authored
A command with a faulty formatting string that lacks the conversion specifier results in a ASAN heap-buffer-overflow. This was due to that strchr() matches on null-termination, which triggers a continuation of the string parsing.
-
michael-grunder authored
We need to install our socket compatibility header as the new polling adapter needs it.
-
- 31 Aug, 2022 1 commit
-
-
bugwz authored
See: #916
-
- 30 Aug, 2022 1 commit
-
-
Pei-Hsuan Hung authored
Wrapping multi-line macros in do...while(0) statement prevents potential dangling else problem.
-
- 29 Aug, 2022 11 commits
-
-
michael-grunder authored
-
Arseniy Simonov authored
-
Kristján Valur Jónsson authored
* Add docker support to test.sh specifying a REDIS_DOCKER env var will run this as a server. * Add initial test workflow * Add workflow test to test 32 bit build * Add ARM x compilation tests * Add tests for windows platform * Test with valgrind
-
Michael Grunder authored
Fix potential fault at createDoubleObject
-
Michael Grunder authored
Illumos test fixes, error message difference fot bad hostname test.
-
Michael Grunder authored
Remove semicolon after do-while in _EL_CLEANUP
-
Michael Grunder authored
Fix some undefined behavior
-
jengab authored
- redisSSLContextError must always be initialized at defintion, otherwise when SSL connect succeeds it may not be assigned to a valid error. Thus the memory trash remains in the variable, which may sign a misleading error.
-
Michael Grunder authored
Copy OOM errors to redisAsyncContext when finding subscribe callback
-
Björn Svensson authored
-
- 26 Aug, 2022 3 commits
-
-
Michael Grunder authored
Maintain backward compatibiliy withour onConnect callback.
-
michael-grunder authored
In f69fac76, our async onConnect callback was improved to take a non-const redisAsyncContext allowing it to be reentrant. Unfortunately, this is a breaking change we can't make until hiredis v2.0.0. This commit creates a separate callback member and corresponding function that allows us to use the new functionality, while maintaining our existing API for legacy code. Fixes #1086
-
Michael Grunder authored
CI: bump macos runner version
-
- 19 Aug, 2022 1 commit
-
-
Michael Grunder authored
Stability: Support calling redisAsyncCommand and redisAsyncDisconnect from the onConnected callback
-
- 17 Aug, 2022 1 commit
-
-
Michael Grunder authored
Support for generating release notes
-
- 16 Aug, 2022 1 commit
-
-
Michael Grunder authored
Make it possible to set SSL verify mode
-
- 15 Aug, 2022 1 commit
-
-
Stan Hu authored
If no SSL certificates are provided, many Redis clients default to disabling SSL peer verification. Previously it was a bit cumbersome to configure this because the client would either have to reimplement `redisCreateSSLContext()` or reach into the internals to set the OpenSSL verify mode. We can improve the SSL API by introducing a `redisCreateSSLContextWithOptions()` call that takes into structured parameters for SSL initialization. This structure contains a verify mode that is used to set the OpenSSL verify mode. Relates to https://github.com/redis/hiredis/issues/646
-
- 10 Aug, 2022 3 commits
-
-
Michael Grunder authored
Improve example for SSL initialization in README.md
-
Stan Hu authored
The previous example left `ssl_error` uninitialized. `redisCreateSSLContex` is not guaranteed to set this when no error occurs. Use the `REDIS_SSL_CTX_NONE` constant instead of 0 to be precise.
-
Chayim I. Kirshen authored
-
- 05 Aug, 2022 1 commit
-
-
Sukka authored
Co-authored-by:
Bjorn Svensson <bjorn.a.svensson@est.tech>
-
- 04 Aug, 2022 2 commits
-
-
Michael Grunder authored
Fix README typos
-
Björn Svensson authored
-
- 31 Jul, 2022 1 commit
-
-
Michael Grunder authored
fix cmake version
-
- 25 Jul, 2022 1 commit
-
-
SukkaW authored
-
- 08 Jul, 2022 3 commits
-
-
Kristján Valur Jónsson authored
Since the callback is now re-entrant, it can call apis such as redisAsyncDisconnect()
-
Kristján Valur Jónsson authored
-
Kristján Valur Jónsson authored
-
- 07 Jul, 2022 1 commit
-
-
Michael Grunder authored
Polling adapter and example
-
- 05 Jul, 2022 2 commits
-
-
Kristján Valur Jónsson authored
-
Kristján Valur Jónsson authored
-