hiredis
hiredis copied to clipboard
Minimalistic C client for Redis >= 1.2
Currently, `redisSetTimeout` function does not update `command_timeout` field in the context. The following call to `redisReconnect` then resets the socket timeout to infinity. This is probably the root cause of...
The proper flags aren't set to guard against api calls from connect/disconnect callbacks. In particular, the connect callback cannot call redisAsyncDisconnect. PR #931 addresses these issues
**In the scenario of parsing certain strings, the parsing process will crash** Crash occurs when parsing the string `*3\r\n$3\r\nSET\r\n$5\r\nhello\r\n$`, the reason is that in some scenarios, `r->pos` and `r->len` will...
CMake config files were installed to `/usr/local/share/hiredis`, which is not recognizable by `find_package()`. I'm not sure why it was set that way. Given the commit introducing it is for Windows,...
Resolves #963. Add additional check to `hi_malloc` for `r->str` when len+1 equals to 0.
This line causes a build breakage in environments that only expose some (public?) OpenSSL header files. I'm not an expert in the area. Just noticed it and submitting a simple...
I'm planning on cutting a release for v1.0.1 in the near future and just creating this issue to track it. I'll add the commits I plan on including but others...
When using the CMakeLists.txt to build a Linux static library the output filename is `libhiredis_static.a `rather than the normally expected `libhiredis.a`. That could be adjusted with the following snippet (at...
Converting from 0.13.3 to 1.0.0, we had one usage that consistently failed, keeping the application from starting. We ended up patching redisNetWrite() to match the behavior of v0.13.3: ``` @@...