- 23 Dec, 2021 1 commit
-
-
zhenwei pi authored
Move SSL options into two blocks to make it easy to read: 1, first part: SSL variables part 1, second part: SSL building rules part and change global rules to make it easy to maintain. For the further step, it gets extensible to add another type. New version of the library building rule: static: $(STLIBNAME) $(SSL_STLIB) dynamic: $(DYLIBNAME) $(SSL_DYLIB) Compare with the orignal version: dynamic: $(DYLIBNAME) static: $(STLIBNAME) ifeq ($(USE_SSL),1) dynamic: $(SSL_DYLIBNAME) static: $(SSL_STLIBNAME) endif If we want to add a new type(Ex, RDMA), for the new version, we can do like this: ########### RDMA variables start ############### ..... ########### RDMA variables end ############### static: $(STLIBNAME) $(SSL_STLIB) $(RDMA_STLIB) dynamic: $(DYLIBNAME) $(SSL_DYLIB) $(RDMA_DYLIB) ########### RDMA building rules start ############### ..... ########### RDMA building rules end ############### Signed-off-by:
zhenwei pi <pizhenwei@bytedance.com>
-
- 16 Dec, 2021 1 commit
-
-
Michael Grunder authored
* BSD linkage fix proposal * Touch up the Makefile to fix BSD builds Fixes #984 * Add a build in FreeBSD to GitHub Actions Lots of people use hiredis in FreeBSD so this should reduce some pain moving forward. Co-authored-by:
David Carlier <devnexen@gmail.com>
-
- 26 Oct, 2021 1 commit
-
-
Björn Svensson authored
Asynchronous testcases that requires the event library `libevent` can be built and enabled by using the added build flags: - ENABLE_ASYNC_TESTS when using CMake - TEST_ASYNC when using Make The async tests are disabled by default to avoid adding new requirements, but the testcases are built and run in CI.
-
- 21 Oct, 2021 1 commit
-
-
Bjorn Svensson authored
* Exclude includes from /usr in coverage reporting * Correct build target `coverage` for enabled ssl `USE_SSL=1 make coverage` will now build the test binary with the forwarded define HIREDIS_TEST_SSL. This avoids inconsistency between built test binary and the testrunner `test.sh`. This enables test coverage measurements for SSL too.
-
- 03 Oct, 2021 1 commit
-
-
Yunier Perez authored
-
- 20 Jul, 2020 1 commit
-
-
Michael Grunder authored
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
-
- 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.
-
- 19 May, 2020 1 commit
-
-
Yossi Gottlieb authored
* Fix missing SSL build/install options. * Use different build commands for non-Linux linkers. * Add missing install targets. Fixes #809
-
- 23 Apr, 2020 1 commit
-
-
Michael Grunder authored
See #757
-
- 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.
-
- 29 Jan, 2020 1 commit
-
-
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
-
- 16 Sep, 2019 1 commit
-
-
Yossi Gottlieb authored
This repeats all existing tests in SSL mode, but does not yet provide SSL-specific tests.
-
- 01 Sep, 2019 1 commit
-
-
Yossi Gottlieb authored
-
- 29 Aug, 2019 2 commits
-
-
Yossi Gottlieb authored
-
Yossi Gottlieb authored
-
- 01 Apr, 2019 1 commit
-
-
m authored
With this change, Hiredis builds with MinGW and runs on Windows.
-
- 21 Feb, 2019 1 commit
-
-
Mark Nunberg authored
-
- 20 Feb, 2019 9 commits
-
-
Mark Nunberg authored
-
valentino authored
-
valentino authored
-
Mark Nunberg authored
-
Mark Nunberg authored
-
Mark Nunberg authored
-
Mark Nunberg authored
-
Mark Nunberg authored
-
Mark Nunberg authored
-
- 04 Dec, 2018 1 commit
-
-
Jörg Thalheim authored
This allows to override it for cross compilation.
-
- 26 Sep, 2018 1 commit
-
-
Tom Lee authored
-
- 31 May, 2018 1 commit
-
-
Ryan Schmidt authored
-dynamiclib is the correct documented flag to use to create dynamic libraries on macOS. Newer toolchains recognize -shared as a synonym of -dynamiclib but older toolchains don't.
-
- 16 May, 2018 1 commit
-
-
michael-grunder authored
-
- 14 May, 2018 2 commits
-
-
Ryan Schmidt authored
This should be equivalent but compatible with older versions of cp.
-
Ryan Schmidt authored
Fixes #437.
-
- 28 Dec, 2017 1 commit
-
-
Dmitri Vorobiev authored
The Makefile checks validity of the compiler command in the CC variable by feeding the contents of that variable to the `type' utility. Some environments include compiler options in the CC variable such as architecture specific tuning flags. For such cases it is necessary to first strip everything except the command itself from the contents of the CC variable prior to checking the command with the type utility, which is what this patch is introducing. We use shell parameter expansion mechanism for this purpose. Signed-off-by:
Dmitri Vorobiev <dmitri.vorobiev@movial.com>
-
- 27 Dec, 2017 1 commit
-
-
Dmitri Vorobiev authored
Some compilation environments (such as Yocto) define the ARCH environment variable to indicate the target architecture. For such enviroments, hiredis build fails, because the expanded $(ARCH) variable in the Makefile gets erroneously interpreted as an argument to the `-ggdb' command line option during the compilation stage or as an input file name during the linking stage. This patch removes $(ARCH) expansions from the Makefile. This doesn't harm cross-compilation, the latter goes fine with the properly assigned CC environment variable. For native builds, this patch does not imply any changes. Signed-off-by:
Dmitri Vorobiev <dmitri.vorobiev@movial.com>
-
- 29 Nov, 2017 1 commit
-
-
Zach Shipko authored
-
- 30 Oct, 2017 1 commit
-
-
Igor Gnatenko authored
INSTALL is supposed to be `install` in most of the cases which doesn't work with directories, but works perfectly with files. Don't do this assumption. Reported-by:
Jiří Vymazal <jvymazal@redhat.com> References: https://bugzilla.redhat.com/show_bug.cgi?id=1506251 Signed-off-by:
Igor Gnatenko <i.gnatenko.brain@gmail.com>
-
- 09 Oct, 2016 1 commit
-
-
Trustfarm-heart authored
In case of some glib-2.0 linker error , make examples can't link with glib2.0, in this case -lglib-2.0 to after includes and move to last will solve the issues.
-
- 20 Apr, 2016 1 commit
-
-
Jan-Erik Rediger authored
This avoids issues with environments where DEBUG is set to an arbitrary value to force debug mode in other tools. BREAKING CHANGE: This breaks builds that explicitely set `DEBUG` to some value (even the empty value). To get back the old behaviour change the `DEBUG_FLAGS` variable now.
-
- 27 Jul, 2015 1 commit
-
-
Jan-Erik Rediger authored
-