hiredis icon indicating copy to clipboard operation
hiredis copied to clipboard

Minimalistic C client for Redis >= 1.2

Results 135 hiredis issues
Sort by recently updated
recently updated
newest added

Added a few explicit casts: unsigned char flags = (unsigned char)s[-1]; Signed-off-by: Ted Lyngmo

Commit c6b8bd77c0fe00dbc455b39208f15761178160a3 to make all functions in dict.c static. If a CMake project set warning unused functions, and include hiredis using add_subdirectory , this cause warnings / errors.

I'm working on a new hiredis binding for Ruby, and I'm running into what seem to be a limitation to handle SSL handshake timeout. The Ruby binding use `redisConnectNonBlock` so...

when one is using hiredis (at least in async mode), it is very difficult (if not impossible) to understand why a connection failed, especially if one is using TLS. i.e....

This PR fixes an issue with incorrect behaviour of redisBufferWrite after merging SSL support. The following logic was moved from redisBufferWrite to rawWrite in [commit](https://github.com/redis/hiredis/commit/0c1454490669f3c95e3c8b0ac6a83582d14e30e0#diff-b61215f4090069fa2ec48b946a1f19df25f63b1eb9e35d5bf71bd9128ae14498R830) ``` if ((errno == EAGAIN...

![image](https://user-images.githubusercontent.com/20039062/104693998-81626000-5745-11eb-9934-c8d64bf5c49a.png)

Installing cmake modules to `/lib/cmake/` is more common and make it easy for users to use hiredis package. If backwards compatibility should be kept, maybe we can install to both...

This PR tries to improve CMakeLists.txt: - still allow static introduced in https://github.com/redis/hiredis/pull/851 (/cc @masariello), but don't build both. CMake has `BUILD_SHARED_LIBS` to control SHARED or STATIC, it's good practice...

Hello, I have a simple C++ program which includes `hiredis.h` header and then C++ `` header: ``` #include "hiredis.h" #include ``` When I compile under windows with LLVM clang-cl.exe I...

Hello. installing hiredis with the following configuration: cmake .. -DCMAKE_INSTALL_PREFIX=/opt/hiredis results in a pkgconfig file like this in /opt/hiredis/lib/pkgconfig/ ``` prefix=/opt/hiredis install_libdir=lib exec_prefix=${prefix} libdir=${exec_prefix}/${install_libdir} includedir=${prefix}/include pkgincludedir=${includedir}/hiredis Name: hiredis Description: Minimalistic...