summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-18Fix 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-17Use 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-17Add 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-09Fix for issue #45Pieter Noordhuis
2011-06-09Flag to disable throughput testsPieter Noordhuis
2011-05-29Exit with a non-zero status when tests failedPieter Noordhuis
2011-05-29Clarify rationale behind issue #43Pieter Noordhuis
2011-05-24Make sure subscribe is still respectedBlake Matheny
2011-05-24Fix the case where an error reply is received before any callbacks are ↵Blake Matheny
registered
2011-05-22Test against unix socket connection in make check targetPieter Noordhuis
2011-05-22More control over host/port and unix path in test.cPieter Noordhuis
2011-05-22Add "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-22Add note about freeReplyObject and the asynchronous APIPieter Noordhuis
2011-05-05Remove TODOPieter Noordhuis
2011-05-05Add function to retrieve formatted replyPieter 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-22cp on Solaris doesn't have -aPieter Noordhuis
2011-04-22Add versioned symlinks for install targetPieter Noordhuis
2011-04-22Solaris needs the static lib as last argumentPieter Noordhuis
2011-04-22Bump version to 0.10.0Pieter Noordhuis
2011-04-22Move OBJ argumentPieter Noordhuis
2011-04-22Braces -> parenthesesPieter Noordhuis
2011-04-22Separate basename and suffix for library filenamePieter Noordhuis
2011-04-22Configurable paths for install targetPieter Noordhuis
2011-04-21Merge branch 'ardsrk-master'Pieter Noordhuis
2011-04-21Reformat and add some detailsPieter Noordhuis
2011-04-21Remove rpath from linker flags; link artifacts staticallyPieter Noordhuis
2011-04-21Remove util.h from MakefilePieter Noordhuis
2011-04-21Update licensePieter Noordhuis
2011-04-21Let the async API segfault on OOM for nowPieter Noordhuis
2011-04-21Move chrtos to hiredis.c (not used elsewhere)Pieter Noordhuis
2011-04-21Handle OOM when doing blocking requestsPieter Noordhuis
2011-04-21More safetyPieter Noordhuis
2011-04-21Fix sdscatreprPieter Noordhuis
2011-04-21Make command formatters gracefully abort when out of memoryPieter Noordhuis
2011-04-21More OOM checks in the protocol readerPieter Noordhuis
2011-04-21Don't abort on OOM in sds.cPieter Noordhuis
2011-04-21Only use C99 for compiling hiredis itselfPieter 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-21sys/types.h is included by libevent itselfPieter Noordhuis
2011-04-21Include fmacros.h to make sure strerror_p is defined on LinuxPieter Noordhuis
2011-04-21Reflect rename in testsPieter Noordhuis
2011-04-21Rename *ReplyReader* to *Reader*Pieter Noordhuis
2011-04-21Use static buffer for error string on contextPieter Noordhuis
2011-04-21Recompile net.c when hiredis.h changesPieter Noordhuis
2011-04-21Create protocol reader when creating contextPieter Noordhuis
2011-04-21Move prototypes around in headerPieter Noordhuis
2011-04-21Reply object functions can be set by the user after creating the readerPieter Noordhuis
2011-04-21Privdata can be set directly on the structPieter Noordhuis
2011-04-21Remove useless castsPieter Noordhuis
2011-04-21Return when memory cannot be allocatedPieter Noordhuis
2011-04-21Remove accessor functions now the redisReader struct is publicPieter Noordhuis