- 20 Apr, 2016 2 commits
-
-
not-a-robot authored
sds.h: Fix compiler warning when adding -Wredundant-decls Fixes: ``` In file included from /data/files/users/jerry/github/hiredis/read.c:44:0: /data/files/users/jerry/github/hiredis/sds.h:63:8: warning: redundant redeclaration of 'sdslen' [-Wredundant-decls] size_t sdslen(const sds s); ^ /data/files/users/jerry/github/hiredis/sds.h:50:22: note: previous definition of 'sdslen' was here static inline size_t sdslen(const sds s) { ^ /data/files/users/jerry/github/hiredis/sds.h:66:8: warning: redundant redeclaration of 'sdsavail' [-Wredundant-decls] size_t sdsavail(const sds s); ^ /data/files/users/jerry/github/hiredis/sds.h:55:22: note: previous definition of 'sdsavail' was here static inline size_t sdsavail(const sds s) { ^ ```
-
not-a-robot authored
test.c: Fix shadowed name with typedef when compiling with -Wshadow Fixes: ``` /data/files/users/jerry/github/hiredis/test.c: In function 'test_free_null': /data/files/users/jerry/github/hiredis/test.c:331:11: warning: declaration of 'redisContext' shadows a global declaration [-Wshadow] void *redisContext = NULL; ^ In file included from /data/files/users/jerry/github/hiredis/test.c:13:0: /data/files/users/jerry/github/hiredis/hiredis.h:161:3: note: shadowed declaration is here } redisContext; ^ ```
-
- 17 Apr, 2016 2 commits
-
-
Jerry Jacobs authored
-
Jerry Jacobs authored
-
- 26 Mar, 2016 1 commit
-
-
Jan-Erik Rediger authored
Closes #361
-
- 27 Oct, 2015 2 commits
-
-
Jan-Erik Rediger authored
fixing typos
-
charsyam authored
-
- 18 Oct, 2015 1 commit
-
-
Jan-Erik Rediger authored
fix snprintf format string
-
- 05 Oct, 2015 1 commit
-
-
Sergey Polovko authored
-
- 16 Sep, 2015 2 commits
-
-
Jan-Erik Rediger authored
-
olgeni authored
-
- 14 Sep, 2015 2 commits
-
-
Jan-Erik Rediger authored
Easier to read, easier to sort.
-
Jan-Erik Rediger authored
This reverts commit 1db17f25. If the `REDIS_CONNECTED` flag is cleared, the async onDisconnect callback function will never be called. This causes problems as the disconnect is never reported back to the user. Closes #359
-
- 25 Aug, 2015 1 commit
-
-
Jan-Erik Rediger authored
-
- 24 Aug, 2015 2 commits
-
-
Jerry Jacobs authored
-
Jan-Erik Rediger authored
-
- 27 Jul, 2015 10 commits
-
-
Jan-Erik Rediger authored
-
Jan-Erik Rediger authored
Fixes #335.
-
Jan-Erik Rediger authored
-
Dmitry Bakhvalov authored
Added MacOS X support via CoreFoundation run loop.
-
Pietro Cerutti authored
-
Pietro Cerutti authored
-
Pietro Cerutti authored
-
Pietro Cerutti authored
-
Gergely Nagy authored
This adds a new adapter and an example for using hiredis with the ivykis async I/O library. Signed-off-by:
Gergely Nagy <algernon@madhouse-project.org>
-
Jan-Erik Rediger authored
-
- 25 Jun, 2015 1 commit
-
-
Jan-Erik Rediger authored
Use explicit casts for void* pointer in order to compile in C++
-
- 24 Jun, 2015 1 commit
-
-
Jan-Erik Rediger authored
undefined reference to `clock_gettime'
-
- 22 Jun, 2015 1 commit
-
-
Simon Ninon authored
-
- 30 May, 2015 1 commit
-
-
w359405949 authored
fix link error while run "make hiredis-example-libuv": undefined reference to `clock_gettime' undefined reference to `clock_getres'
-
- 03 May, 2015 3 commits
-
-
Jan-Erik Rediger authored
-
Jan-Erik Rediger authored
-
Jan-Erik Rediger authored
This reverts commit d8145d79.
-
- 30 Apr, 2015 1 commit
-
-
Alex Balashov authored
Renamed redisContext struct member 'unix' to 'unix_sock' to avoid encountering defined constant 'unix' in GNU C environment (see commit d8145d79). Not all code using hiredis can compile using '-std=c99', and/or not all users are able to easily make that change to the build process of various open-source projects, so it is more pragmatic to choose a different identifier that does not impose this requirement.
-
- 29 Apr, 2015 1 commit
-
-
Jan-Erik Rediger authored
Fix memory leak in async spontaneous reply handling
-
- 28 Apr, 2015 1 commit
-
-
antirez authored
When an asynchronous hiredis connection subscribes to a Pub/Sub channel and gets an error, and in other related conditions, the function redisProcessCallbacks() enters a code path where the link is disconnected, however the function returns before freeing the allocated reply object. This causes a memory leak. The memory leak was trivial to trigger in Redis Sentinel, which uses hiredis, every time we tried to subscribe to an instance that required a password, in case the Sentinel was configured either with the wrong password or without password at all. In this case, the -AUTH error caused the leaking code path to be executed.
-
- 16 Apr, 2015 4 commits
-
-
Jan-Erik Rediger authored
Turns out: gnu9x defines `unix` to 1, making it unusable as a variable name.
-
Jan-Erik Rediger authored
-
Jan-Erik Rediger authored
-
Jan-Erik Rediger authored
-