- 15 Mar, 2013 1 commit
-
-
Aaron Bedra authored
Closes #154 This commit properly sets the error value inside of redisContextWaitReady when an invalid sec or usec value is provided. Tests for each case are provided to demonstrate that the issue is properly fixed and to avoid regression. Signed-off-by:
Aaron Bedra <aaron@aaronbedra.com>
-
- 18 Apr, 2012 1 commit
-
-
Mark Ellzey authored
The current select() is limiting in instances where the fd num is > FD_SETSIZE. Since redisContextWaitReady() only processes a single fd, select would still fail. For compatibility reasons I have converted select() over to poll(), eliminating this problem.
-
- 10 Jul, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 27 Jun, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 18 Jun, 2011 1 commit
-
-
Geoff Garside authored
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.
-
- 17 Jun, 2011 2 commits
-
-
Geoff Garside authored
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.
-
Geoff Garside authored
Extract setting SO_REUSEADDR socket option into separate function so the same code can be more easily used by redisCreateSocket and other functions.
-
- 21 Apr, 2011 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 04 Feb, 2011 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 07 Jan, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 29 Dec, 2010 1 commit
-
-
Pieter Noordhuis authored
-
- 16 Dec, 2010 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 01 Dec, 2010 1 commit
-
-
Pieter Noordhuis authored
-
- 22 Nov, 2010 1 commit
-
-
Pieter Noordhuis authored
-
- 03 Nov, 2010 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 02 Nov, 2010 3 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 06 Oct, 2010 1 commit
-
-
Pieter Noordhuis authored
-
- 25 May, 2010 1 commit
-
-
Pierre Riteau authored
The API is more similar to printf now.
-
- 18 May, 2010 1 commit
-
-
antirez authored
hiredis was extracted from redis-tools, reverted to standard malloc/free, ported to the new protocol, and started as a stand alone project in order to support the need of a C client in the Redis community
-