- 09 Sep, 2020 1 commit
-
-
Alessio M authored
-
- 08 Sep, 2020 1 commit
-
-
michael-grunder authored
-
- 07 Sep, 2020 1 commit
-
-
Alessio M authored
-
- 28 Aug, 2020 1 commit
-
-
michael-grunder authored
See #869
-
- 30 Jul, 2020 1 commit
-
-
Michael Grunder authored
-
- 29 Jul, 2020 1 commit
-
-
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
-
- 22 Jul, 2020 1 commit
-
-
masariello authored
-
- 22 May, 2020 1 commit
-
-
Michael Grunder authored
* 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.
-
- 13 Apr, 2020 1 commit
-
-
Michael Grunder authored
* Fix linker problems when building with SSL enabled on OSX * Corrects `HIREDIS_SSL=ON` to `USE_SSL=ON` so we test building with SSL enabled on travis.
-
- 09 Apr, 2020 1 commit
-
-
Michael Grunder authored
* Add CMake package configuration so hiredis can be more easily included in other projects. * Fixes hiredis_ssl such that it compiles and works in windows Co-authored-by:
nrivera <nrivera@blizzard.com> Co-authored-by:
Nick <heronr1@gmail.com>
-
- 07 Apr, 2020 1 commit
-
-
Yossi Gottlieb authored
-
- 03 Apr, 2020 1 commit
-
-
Michael Grunder authored
Unit tests in Windows and a Windows timeout fix This commit gets our unit tests compiling and running on Windows as well as removes a duplicated `timeval` -> `DWORD` conversion logic in sockcompat.c There are minor differences in behavior between Linux and Windows to note: 1. In Windows, opening a non-existent hangs forever in WSAPoll whereas it correctly returns with a "Connection refused" error on Linux. For that reason, I simply skip this test in Windows. It may be related to this known issue: https://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/ 2. Timeouts are handled slightly differently in Windows and Linux. In Linux, we intentionally set REDIS_ERR_IO for connection timeouts whereas in Windows we set REDIS_ERR_TIMEOUT. It may be prudent to fix this discrepancy although there are almost certainly users relying on the current behavior.
-
- 28 Feb, 2020 1 commit
-
-
Michael Grunder authored
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)
-
- 28 Jan, 2020 1 commit
-
-
Michael Grunder authored
Create allocation wrappers with a configurable OOM handler (defaults to abort()). See #752, #747
-
- 04 Nov, 2019 1 commit
-
-
Paul Botros authored
Useful when hiredis is used as a CMake dependency in other projects and added via add_subdirectory(). With DISABLE_TESTS on, `make test` in the parent project won't run hiredis tests.
-
- 01 Sep, 2019 1 commit
-
-
Yossi Gottlieb authored
Also rename the SSL option from `HIREDIS_SSL` to `ENABLE_SSL` to conform with CMake convnetions.
-
- 29 Aug, 2019 1 commit
-
-
Yossi Gottlieb authored
-
- 17 Jul, 2019 1 commit
-
-
kevin1018 authored
-
- 01 Apr, 2019 2 commits
- 21 Feb, 2019 1 commit
-
-
Mark Nunberg authored
-
- 20 Feb, 2019 9 commits
-
-
Mark Nunberg authored
-
Justin Brewer authored
Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
Justin Brewer authored
Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
Justin Brewer authored
Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
Justin Brewer authored
Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
Justin Brewer authored
Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
Justin Brewer authored
Signed-off-by:
Justin Brewer <jzb0012@auburn.edu>
-
Mark Nunberg authored
-
Mark Nunberg authored
This provides a target to build a DSO, as well as the ability to install it.
-