- 04 May, 2020 1 commit
-
-
Michael Grunder authored
Add support for timeouts in our libev adapter. See #795
-
- 23 Apr, 2020 2 commits
-
-
Michael Grunder authored
See #757
-
Michael Grunder authored
* Respect overridden libdir in CMake See: #767
-
- 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.
-
- 10 Apr, 2020 1 commit
-
-
Nick Rivera authored
-
- 09 Apr, 2020 2 commits
-
-
Michael Grunder authored
Explicitly call `uv_poll_init_socket` as that has slightly different semantics on Windows (and is identical to `uv_poll_init` on Linux). http://docs.libuv.org/en/v1.x/poll.html#c.uv_poll_init_socket
-
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 2 commits
-
-
Michael Grunder authored
CMake: Set hiredis_ssl shared object version.
-
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.
-
- 02 Apr, 2020 1 commit
-
-
michael-grunder authored
Fixes #778
-
- 14 Mar, 2020 1 commit
-
-
michael-grunder authored
-
- 13 Mar, 2020 1 commit
-
-
michael-grunder authored
-
- 28 Feb, 2020 2 commits
-
-
michael-grunder authored
-
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)
-
- 29 Jan, 2020 2 commits
-
-
Michael Grunder authored
install alloc.h
-
akichan authored
alloc.h added in # 754 But not added to INSTALL_INCLUDE_PATH
-
- 28 Jan, 2020 1 commit
-
-
Michael Grunder authored
Create allocation wrappers with a configurable OOM handler (defaults to abort()). See #752, #747
-
- 01 Jan, 2020 2 commits
-
-
Michael Grunder authored
fix spelling mistakes
-
ShooterIT authored
-
- 18 Dec, 2019 1 commit
-
-
Michael Grunder authored
Free the reply in redisGetReply when passed NULL
-
- 12 Dec, 2019 1 commit
-
-
michael-grunder authored
We currently perform a NULL check in redisGetReply and don't push the reply back to the caller, but we don't free any reply meaning that this will leak memory: redisGetReply(context, NULL); This change simply frees the reply if we were passed NULL. Addresses #740
-
- 06 Dec, 2019 1 commit
-
-
Michael Grunder authored
Adding an option to DISABLE_TESTS
-
- 26 Nov, 2019 1 commit
-
-
Michael Grunder authored
Fix dead code in sslLogCallback relating to should_log variable.
-
- 25 Nov, 2019 1 commit
-
-
Nathan Scott authored
Coverity scans found that the should_log logic in sslLogCallback is not working as expected because the variable is not correctly initialised (the conditional code before logging always sets the value to 1, which it already is).
-
- 19 Nov, 2019 2 commits
-
-
Michael Grunder authored
Fix typo in dict.c.
-
Kevin authored
-
- 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.
-
- 10 Oct, 2019 2 commits
-
-
michael-grunder authored
-
Michael Grunder authored
Update README with SSL support.
-
- 08 Oct, 2019 1 commit
-
-
Michael Grunder authored
Fixes leaks in unit tests
-
- 07 Oct, 2019 1 commit
-
-
Yossi Gottlieb authored
-
- 25 Sep, 2019 1 commit
-
-
michael-grunder authored
redisFormatSdsCommandArgv takes an sds* and calls sdsempty() for us. Addresses #714
-
- 16 Sep, 2019 5 commits
-
-
Mark Nunberg authored
SSL Tests
-
Yossi Gottlieb authored
This repeats all existing tests in SSL mode, but does not yet provide SSL-specific tests.
-
Yossi Gottlieb authored
-
Yossi Gottlieb authored
We should not attempt to keep the context and re-establish the TLS connection for several reasons: 1. Maintain symmetry between redisConnect() and redisReconnect(), so in both cases an extra step is required to initiate SSL. 2. The caller may also wish to reconfigure the SSL session and needs a chance to do that. 3. It is not a practical thing to do on an async non-blocking connection context.
-
Mark Nunberg authored
SSL Reorganization
-
- 01 Sep, 2019 2 commits
-
-
Yossi Gottlieb authored
Also rename the SSL option from `HIREDIS_SSL` to `ENABLE_SSL` to conform with CMake convnetions.
-
Yossi Gottlieb authored
-