Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-18 | Fix incorrect "no route to host" errors. | Geoff Garside | |
If getaddrinfo(3) includes an AF_INET6 address before an AF_INET address on a host with only IPv4 network connectivity then the redisContextConnectTcp call would fail with "no route to host". This commit fixes this issue by specifically handling the errno EHOSTUNREACH error and entering another iteration of the addrinfo loop. This will allow following AF_INET addresses to be attempted. | |||
2011-06-17 | Use getaddrinfo(3) in redisContextConnectTcp. | Geoff Garside | |
Change redisContextConnectTcp() function to use getaddrinfo(3) to perform address resolution, socket creation and connection. Resolved addresses are limited to those reachable by the AF_INET family. | |||
2011-06-17 | Add redisSetReuseAddr(c, fd) static function. | Geoff Garside | |
Extract setting SO_REUSEADDR socket option into separate function so the same code can be more easily used by redisCreateSocket and other functions. | |||
2011-06-09 | Fix for issue #45 | Pieter Noordhuis | |
2011-06-09 | Flag to disable throughput tests | Pieter Noordhuis | |
2011-05-29 | Exit with a non-zero status when tests failed | Pieter Noordhuis | |
2011-05-29 | Clarify rationale behind issue #43 | Pieter Noordhuis | |
2011-05-24 | Make sure subscribe is still respected | Blake Matheny | |
2011-05-24 | Fix the case where an error reply is received before any callbacks are ↵ | Blake Matheny | |
registered | |||
2011-05-22 | Test against unix socket connection in make check target | Pieter Noordhuis | |
2011-05-22 | More control over host/port and unix path in test.c | Pieter Noordhuis | |
2011-05-22 | Add "make check" target (useful for automated tests). | Piotr Sikora | |
While there, add "-p" option to "hiredis-test", so that we could run tests without interrupting Redis instance running on the default port. | |||
2011-05-22 | Add note about freeReplyObject and the asynchronous API | Pieter Noordhuis | |
2011-05-05 | Remove TODO | Pieter Noordhuis | |
2011-05-05 | Add function to retrieve formatted reply | Pieter Noordhuis | |
This is done by only truncating the read buffer once a full reply has been read. The buffer is no longer truncated halfway through reading a reply. In addition: pass offset/length of protocol and content via the read tasks. | |||
2011-04-22 | cp on Solaris doesn't have -a | Pieter Noordhuis | |
2011-04-22 | Add versioned symlinks for install target | Pieter Noordhuis | |
2011-04-22 | Solaris needs the static lib as last argument | Pieter Noordhuis | |
2011-04-22 | Bump version to 0.10.0 | Pieter Noordhuis | |
2011-04-22 | Move OBJ argument | Pieter Noordhuis | |
2011-04-22 | Braces -> parentheses | Pieter Noordhuis | |
2011-04-22 | Separate basename and suffix for library filename | Pieter Noordhuis | |
2011-04-22 | Configurable paths for install target | Pieter Noordhuis | |
2011-04-21 | Merge branch 'ardsrk-master' | Pieter Noordhuis | |
2011-04-21 | Reformat and add some details | Pieter Noordhuis | |
2011-04-21 | Remove rpath from linker flags; link artifacts statically | Pieter Noordhuis | |
2011-04-21 | Remove util.h from Makefile | Pieter Noordhuis | |
2011-04-21 | Update license | Pieter Noordhuis | |
2011-04-21 | Let the async API segfault on OOM for now | Pieter Noordhuis | |
2011-04-21 | Move chrtos to hiredis.c (not used elsewhere) | Pieter Noordhuis | |
2011-04-21 | Handle OOM when doing blocking requests | Pieter Noordhuis | |
2011-04-21 | More safety | Pieter Noordhuis | |
2011-04-21 | Fix sdscatrepr | Pieter Noordhuis | |
2011-04-21 | Make command formatters gracefully abort when out of memory | Pieter Noordhuis | |
2011-04-21 | More OOM checks in the protocol reader | Pieter Noordhuis | |
2011-04-21 | Don't abort on OOM in sds.c | Pieter Noordhuis | |
2011-04-21 | Only use C99 for compiling hiredis itself | Pieter Noordhuis | |
The libevent example cannot be compiled when -std=c99 is passed. It is not necessary that the adapters nor the examples follow this standard, as long as the code for hiredis itself is compliant. | |||
2011-04-21 | sys/types.h is included by libevent itself | Pieter Noordhuis | |
2011-04-21 | Include fmacros.h to make sure strerror_p is defined on Linux | Pieter Noordhuis | |
2011-04-21 | Reflect rename in tests | Pieter Noordhuis | |
2011-04-21 | Rename *ReplyReader* to *Reader* | Pieter Noordhuis | |
2011-04-21 | Use static buffer for error string on context | Pieter Noordhuis | |
2011-04-21 | Recompile net.c when hiredis.h changes | Pieter Noordhuis | |
2011-04-21 | Create protocol reader when creating context | Pieter Noordhuis | |
2011-04-21 | Move prototypes around in header | Pieter Noordhuis | |
2011-04-21 | Reply object functions can be set by the user after creating the reader | Pieter Noordhuis | |
2011-04-21 | Privdata can be set directly on the struct | Pieter Noordhuis | |
2011-04-21 | Remove useless casts | Pieter Noordhuis | |
2011-04-21 | Return when memory cannot be allocated | Pieter Noordhuis | |
2011-04-21 | Remove accessor functions now the redisReader struct is public | Pieter Noordhuis | |