Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2022-06-26 | Merge pull request #1072 from michael-grunder/fix-redis7-unit-tests | Michael Grunder | |
Fix tests so they work for Redis 7.0 | |||
2022-06-26 | Fix tests so they work for Redis 7.0 | michael-grunder | |
* 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. | |||
2022-05-04 | Merge pull request #1058 from orgads/win64 | Michael Grunder | |
Fix warnings on Win64 | |||
2022-04-24 | Fix warnings on Win64 | Orgad Shaneh | |
read.c:399:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 399 | obj = (void*)(long)cur->type; | ^ | |||
2022-04-23 | Merge pull request #1062 from yossigo/fix-push-notification-order | Michael Grunder | |
Handle push notifications before or after reply. | |||
2022-04-23 | Merge pull request #1061 from yossigo/update-redis-apt | Michael Grunder | |
Use official repository for redis package. | |||
2022-04-23 | Merge pull request #1063 from redis/fix-windows-tests | Michael Grunder | |
Whitelist hiredis repo path in cygwin | |||
2022-04-23 | Whitelist hiredis repo path in cygwin | michael-grunder | |
2022-04-22 | Handle push notifications before or after reply. | Yossi Gottlieb | |
2022-04-22 | Use official repository for redis package. | Yossi Gottlieb | |
2022-04-05 | Merge pull request #1047 from Nordix/unsubscribe-handling | Michael Grunder | |
Unsubscribe handling in async | |||
2022-04-05 | Merge pull request #1045 from Nordix/sds-updates | Michael Grunder | |
Update hiredis sds with improvements found in redis | |||
2022-03-29 | Use the same name for static and shared libraries | Orgad Shaneh | |
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 | |||
2022-03-24 | Embed debug information in windows static lib, rather than create a .pdb file | Kristján Valur Jónsson | |
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. | |||
2022-03-18 | fix cmake version | smmir-cent | |
2022-02-03 | Handle any pipelined unsubscribe in async | Björn Svensson | |
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. | |||
2022-02-02 | Ignore pubsub replies without a channel/pattern | Björn Svensson | |
2022-02-02 | Handle overflows as errors instead of asserting | Björn Svensson | |
2022-02-01 | Catch size_t overflows in sds.c | Björn Svensson | |
Equivalent changes introduced to redis sds.c via: https://github.com/redis/redis/pull/8522 https://github.com/redis/redis/pull/9584 |