Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-18 | Use poll() instead of select() inside redisContextWaitReady() | Mark Ellzey | |
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. | |||
2011-07-20 | Merge pull request #47 from geoffgarside/addrinfo | Pieter Noordhuis | |
Use getaddrinfo | |||
2011-07-10 | Put back missing socket error check after select(2) | Pieter Noordhuis | |
2011-06-27 | Extract function to check a socket for errors | Pieter Noordhuis | |
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-04-21 | Update license | Pieter Noordhuis | |
2011-04-21 | Use static buffer for error string on context | Pieter Noordhuis | |
2011-02-04 | Fix copying timeval for timeout | Pieter Noordhuis | |
2011-02-04 | Use select(2) for enforce a timeout on blocking connect(2) | Pieter Noordhuis | |
2011-01-07 | Return error on socket timeout for a blocking context | Pieter Noordhuis | |
2010-12-29 | License | Pieter Noordhuis | |
2010-12-16 | Solaris doesn't know AF_LOCAL | Pieter Noordhuis | |
2010-12-16 | Add myself to license in some files | Pieter Noordhuis | |
2010-12-01 | Wait with setting CONNECTED until there is an fd | Pieter Noordhuis | |
2010-11-22 | Make error messages consistent in casing | Pieter Noordhuis | |
2010-11-03 | Add functiont to net.c to connect to a unix socket | Pieter Noordhuis | |
2010-11-03 | Move code in net.c to separate functions | Pieter Noordhuis | |
2010-11-02 | Make setError receive an sds | Pieter Noordhuis | |
2010-11-02 | Strip net.c down to the bare minimum | Pieter Noordhuis | |
2010-11-02 | Move anet.{c,h} to net.{c,h} | Pieter Noordhuis | |