summaryrefslogtreecommitdiff
path: root/README.md
AgeCommit message (Collapse)Author
2023-08-18Integrating spellcheck into CI (#1218)Chayim
* Adding spellcheck testing * words * updating version of spellcheck action
2023-07-25Document poll(2) logic changes.michael-grunder
See #1206, #1213
2023-05-29Helper for setting TCP_USER_TIMEOUT socket option (#1188)Viktor Söderqvist
* 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()
2022-11-14Prepare for v1.1.0 GAmichael-grunder
2022-11-09fix flag referencedachui
2022-11-06Prepare for v1.1.0-rc1michael-grunder
- Update changelog. - Bump version/soname defines.
2022-09-19Additional include directory given by pkg-config (#1118)Bjorn Svensson
* Update include example in README * Update pkg-config installed via CMake Gives the include directory to enable the use of: #include <hiredis/hiredis.h> but keeps the existing include dir. for backwards compatibility. Example: > pkg-config hiredis --cflags -D_FILE_OFFSET_BITS=64 -I/usr/local/include/hiredis -I/usr/local/include * Update pkg-config installed via Make Gives the include directory to enable the use of: #include <hiredis/hiredis.h> but keeps the existing include path for backwards compatibility. Example: > pkg-config hiredis --cflags -D_FILE_OFFSET_BITS=64 -I/usr/local/include/hiredis -I/usr/local/include
2022-09-02Add REDIS_OPT_PREFER_UNSPEC (#1101)Michael Grunder
Add REDIS_OPT_PREFER_UNSPEC See: #1099, #1096 Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
2022-09-01Update documentation to explain redisConnectWithOptions.michael-grunder
Additionally document the new `REDIS_OPT_PREFER_IPV4`, `REDIS_OPT_PREFER_IPV6` as well as the rest of our existing options. See #1096
2022-08-26Maintain 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-10Improve example for SSL initialization in README.mdStan 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-04Fix README typosBjörn Svensson
2022-06-26Whitespacemichael-grunder
2022-06-26Fix typosKristján Valur Jónsson
2022-06-26Add some documentation on connect/disconnect callbacks and command callbacksKristján Valur Jónsson
2021-10-10Switch to GitHub actionsmichael-grunder
Since TravisCI.org was deprecated we've been without any tests. This commit adds back basic tests in Ubuntu, CentOS, and MacOS. More sophisticated tests/platforms to come in the future (e.g. 32bit tests). See: #992
2021-10-07Merge branch 'release/v1.0.2'michael-grunder
2021-10-07Prepare for v1.0.2 GAmichael-grunder
2021-10-04Merge branch 'release/v1.0.1'michael-grunder
Merge the v1.0.1 release branch and bump the dev version to 1.0.2-dev
2021-10-04 Prepare for v1.0.1 GAmichael-grunder
2021-05-23Fix README.mdmichael-grunder
Closes #929
2021-04-24fix(docs): corrects typos in project READMEplan-do-break-fix
2021-02-17http -> httpscheese1
2020-10-27Updating SSL connection exampleJeremy Cohen
2020-08-03Prepare for v1.0.0 GAmichael-grunder
2020-07-29Update notes preparing for v1.0.0-rc1michael-grunder
2020-07-19Remove erroneous tag and add license to push example (#849)Michael Grunder
2020-07-19Resp3 oob push support (#841)Michael Grunder
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
2020-05-30Merge branch 'master' into new-ssl-apimichael-grunder
2020-05-26Document allocator injection and completeness fix in test.c (#824)Michael Grunder
2020-05-24New SSL API to replace redisSecureConnection().Yossi Gottlieb
2020-05-22Allow users to replace allocator and handle OOM everywhere. (#800)Michael Grunder
* Adds an indirection to every allocation/deallocation to allow users to plug in ones of their choosing (use custom functions, jemalloc, etc). * Gracefully handle OOM everywhere in hiredis. This should make it possible for users of the library to have more flexibility in how they handle such situations. * Changes `redisReaderTask->elements` from an `int` to a `long long` to prevent a possible overflow when transferring the task elements into a `redisReply`. * Adds a configurable `max elements` member to `redisReader` that defaults to 2^32 - 1. This can be set to "unlimited" by setting the value to zero.
2020-05-16Add link to ABI tracker (#808)Michael Grunder
Addresses #506
2020-02-27Housekeeping fixes (#764)Michael Grunder
Housekeeping * Check for C++ (#758, #750) * Include `alloc.h` in `make install` and `cmake` * Add a `.def` file for Windows (#760) * Include allocation wrappers referenced in adapter headers * Fix minor syntax errors and typos in README * Fix CI in Windows by properly escaping arguments (#761)
2019-10-10Use correct flag in README.mdmichael-grunder
2019-10-07Update README with SSL support.Yossi Gottlieb
2019-08-09Merge pull request #621 from Crunsher/masterMark Nunberg
Update README.md
2019-07-22Removed whitespace before newlineOdin Hultgren Van Der Horst
- Removed whitespace before newline - Removed win style newline
2018-10-26Update README.mdJean Flach
Add note about using context->data to pass user data to connect and disconnect callbacks
2016-04-20Auto merge of #417 - redis:thread-safety, r=badboynot-a-robot
docs: Note about thread-safety
2016-04-20docs: Note about thread-safetyJan-Erik Rediger
2016-04-20docs: Add changelog for upcoming version and note about status of READMEJan-Erik Rediger
[ci-skip]
2016-03-26docs: Handle NULL in exampleJan-Erik Rediger
Closes #361
2015-04-16Add current maintainer to READMEJan-Erik Rediger
2015-01-05Fix README typosChris Williams
Closes #267
2015-01-05Fix README typoMohnish Thallavajhula
Closes #285
2015-01-05Add syntax highlighting to README.mdRyan Jacobs
Closes #293
2013-07-10Emphasize size_t length for %b formattingWolfgang Richter
Closes #121.
2013-07-10Add note about multi bulk nesting limit (fixes #143)Pieter Noordhuis
2013-01-26Add Travis badge to READMEPieter Noordhuis