packages feed

redis 0.10 → 0.10.1

raw patch · 3 files changed

+11/−6 lines, 3 files

Files

Database/Redis/Redis.hs view
@@ -35,8 +35,9 @@        SortOptions(..),        Aggregate(..),        sortDefaults,-       fromRInline, fromRBulk, fromRMulti, fromRMultiBulk,-       fromRInt, fromROk, noError, parseMessage, takeAll,+       fromRInline, fromRBulk, fromRBulk', fromRMulti,+       fromRMultiBulk, fromRMultiBulk', fromRInt,+       fromROk, noError, parseMessage, takeAll,         -- * Database connection        localhost, defaultPort,@@ -228,7 +229,10 @@  socket_inet :: String -> String -> IO S.Socket socket_inet hostname port =-    do serveraddr <- head `fmap` S.getAddrInfo Nothing (Just hostname) (Just port)+    do serveraddr <- head `fmap` (S.getAddrInfo+                                  (Just S.defaultHints {S.addrFlags = [S.AI_CANONNAME],+                                                        S.addrFamily = S.AF_INET})+                                  (Just hostname) (Just port))         s <- S.socket (S.addrFamily serveraddr) S.Stream S.defaultProtocol        S.setSocketOption s S.KeepAlive 1
redis.cabal view
@@ -1,5 +1,5 @@ Name:                redis-Version:             0.10+Version:             0.10.1 License:             MIT Maintainer:          Alexander Bogdanov <andorn@gmail.com> Author:              Alexander Bogdanov <andorn@gmail.com>@@ -48,6 +48,9 @@       \<path-to-your-redis-binary\>\". \*Warning!\* Don't do that if you       have running redis instance on the default port and host! All       data in databases 0 and 1 will be lost!+	.+	- Fixed issues with connection on OSX and missed exports in Redis+      module - many thanks to Dan Colish 	.  Stability:           beta
redis.conf view
@@ -14,8 +14,6 @@  # requirepass foobared appendonly no-vm-enabled no-glueoutputbuf yes hash-max-zipmap-entries 64 hash-max-zipmap-value 512 activerehashing yes