Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-01 | Fix cmake config path on Linux. | Tongliang Liao | |
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. | |||
2022-09-01 | Add possibility to prefer IPv6, IPv4 or unspecified | Viktor Söderqvist | |
2022-09-01 | fuzzer: No alloc in redisFormatCommand() when fail | Björn Svensson | |
2022-09-01 | Fix heap-buffer-overflow issue in redisvFormatCommad | Björn Svensson | |
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. | |||
2022-09-01 | Polling adapter requires sockcompat.h | michael-grunder | |
We need to install our socket compatibility header as the new polling adapter needs it. | |||
2022-08-31 | Regression test for off-by-one parsing error | bugwz | |
See: #916 | |||
2022-08-30 | Add do while(0) protection for macros | Pei-Hsuan Hung | |
Wrapping multi-line macros in do...while(0) statement prevents potential dangling else problem. | |||
2022-08-29 | Rework asSleep to be a generic millisleep function. | michael-grunder | |
2022-08-29 | Do store command timeout in the context for redisSetTimeout (#593) | Arseniy Simonov | |
2022-08-29 | CMake: remove dict.c form hiredis_sources | Lipraxde | |
Commit c6b8bd77c0fe00dbc455b39208f15761178160a3 to make all functions in dict.c static. If a CMake project set warning unused functions, and include hiredis using add_subdirectory , this cause warnings / errors. | |||
2022-08-29 | Add Github Actions CI workflow for hiredis: Arm, Arm64, 386, windows. (#943) | Kristján Valur Jónsson | |
* 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 | |||
2022-08-29 | Merge pull request #964 from afcidk/fix-createDoubleObject | Michael Grunder | |
Fix potential fault at createDoubleObject | |||
2022-08-29 | Merge pull request #901 from devnexen/illumos_test_fix | Michael Grunder | |
Illumos test fixes, error message difference fot bad hostname test. | |||
2022-08-29 | Merge pull request #905 from sundb/master | Michael Grunder | |
Remove semicolon after do-while in _EL_CLEANUP | |||
2022-08-29 | Merge pull request #1091 from redis/ssl-error-ub-fix | Michael Grunder | |
Fix some undefined behavior | |||
2022-08-29 | Fix some undefined behaviour | jengab | |
- 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. | |||
2022-08-29 | Merge pull request #1090 from Nordix/subscribe-oom-error | Michael Grunder | |
Copy OOM errors to redisAsyncContext when finding subscribe callback | |||
2022-08-29 | Copy error to redisAsyncContext when finding subscribe cb | Björn Svensson | |
2022-08-26 | Merge pull request #1087 from redis/const-and-non-const-callback | Michael Grunder | |
Maintain backward compatibiliy withour onConnect callback. | |||
2022-08-26 | Maintain backward compatibiliy withour onConnect callback. | michael-grunder | |
In f69fac7690fb22a7fc19dba61ef70e5f79ccb2e9, 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 | |||
2022-08-26 | Merge pull request #1079 from SukkaW/drop-macos-10.15-runner | Michael Grunder | |
CI: bump macos runner version | |||
2022-08-19 | Merge pull request #931 from kristjanvalur/pr2 | Michael Grunder | |
Stability: Support calling redisAsyncCommand and redisAsyncDisconnect from the onConnected callback | |||
2022-08-17 | Merge pull request #1083 from chayim/ck-drafter | Michael Grunder | |
Support for generating release notes | |||
2022-08-15 | Merge pull request #1085 from stanhu/ssl-improve-options-setting | Michael Grunder | |
Make it possible to set SSL verify mode | |||
2022-08-15 | Make it possible to set SSL verify mode | Stan Hu | |
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 | |||
2022-08-10 | Merge pull request #1084 from stanhu/sh-improve-ssl-docs | Michael Grunder | |
Improve example for SSL initialization in README.md | |||
2022-08-10 | Improve example for SSL initialization in README.md | Stan Hu | |
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. | |||
2022-08-10 | Release drafter | Chayim I. Kirshen | |
2022-08-05 | CI: use recommended `vmactions/freebsd-vm@v0` | Sukka | |
Co-authored-by: Bjorn Svensson <bjorn.a.svensson@est.tech> | |||
2022-08-04 | Merge pull request #1080 from Nordix/readme-corrections | Michael Grunder | |
Fix README typos | |||
2022-08-04 | Fix README typos | Björn Svensson | |
2022-07-31 | Merge pull request #1050 from smmir-cent/fix-cmake-version | Michael Grunder | |
fix cmake version | |||
2022-07-25 | CI: bump macos runner version | SukkaW | |
2022-07-08 | Drop `const` on redisAsyncContext in redisConnectCallback | Kristján Valur Jónsson | |
Since the callback is now re-entrant, it can call apis such as redisAsyncDisconnect() | |||
2022-07-08 | Support calling redisAsyncDisconnect from the onConnected callback, by ↵ | Kristján Valur Jónsson | |
deferring context deletion | |||
2022-07-08 | Add async regression test for issue #931 | Kristján Valur Jónsson | |
2022-07-07 | Merge pull request #932 from kristjanvalur/pr3 | Michael Grunder | |
Polling adapter and example | |||
2022-07-05 | Add regression test for issue #945 | Kristján Valur Jónsson | |
2022-07-05 | Initial async tests | Kristján Valur Jónsson | |
2022-07-05 | Polling adapter and example | Kristján Valur Jónsson | |
2022-06-26 | Merge pull request #1057 from orgads/static-name | Michael Grunder | |
Use the same name for static and shared libraries | |||
2022-06-26 | Merge pull request #1054 from kristjanvalur/pr08 | Michael Grunder | |
Embed debug information in windows static .lib file | |||
2022-06-26 | Merge pull request #1074 from michael-grunder/kristjanvalur-pr4 | Michael Grunder | |
Improved async documentation | |||
2022-06-26 | Whitespace | michael-grunder | |
2022-06-26 | Fix typos | Kristján Valur Jónsson | |
2022-06-26 | Add some documentation on connect/disconnect callbacks and command callbacks | Kristján Valur Jónsson | |
2022-06-26 | Merge pull request #1073 from michael-grunder/kristjanvalur-pr1 | Michael Grunder | |
Fix async connect on Windows | |||
2022-06-26 | Whitespace, style | michael-grunder | |
2022-06-26 | Use correct type for getsockopt() | Kristján Valur Jónsson | |
2022-06-26 | Support failed async connects on windows. | Kristján Valur Jónsson | |