packages feed

pipes-network 0.1.0 → 0.1.0.1

raw patch · 3 files changed

+6/−6 lines, 3 filesdep ~pipesPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: pipes

API changes (from Hackage documentation)

Files

pipes-network.cabal view
@@ -1,5 +1,5 @@ name: pipes-network-version: 0.1.0+version: 0.1.0.1 license: BSD3 license-file: LICENSE copyright: Copyright (c) Renzo Carbonara 2012-2013, Paolo Capriotti 2012-2012.@@ -37,7 +37,7 @@         base (== 4.*),         bytestring (>= 0.9.2.1),         network,-        pipes (==3.1.*),+        pipes (>=3.1 && <3.3),         pipes-safe (>=1.0),         transformers (>= 0.2 && < 0.4)     exposed-modules:
src/Control/Proxy/Network/Internal.hs view
@@ -21,9 +21,9 @@  -- | Preferred host to bind. data HostPreference-  = HostAny          -- ^Any avaiable host.-  | HostIPv4         -- ^Any avaiable IPv4 host.-  | HostIPv6         -- ^Any avaiable IPv6 host.+  = HostAny          -- ^Any available host.+  | HostIPv4         -- ^Any available IPv4 host.+  | HostIPv6         -- ^Any available IPv6 host.   | Host NS.HostName -- ^An explicit host name.   deriving (Eq, Ord, Show, Read) 
src/Control/Proxy/TCP.hs view
@@ -354,7 +354,7 @@     hints = NS.defaultHints { NS.addrFlags = [NS.AI_PASSIVE]                             , NS.addrSocketType = NS.Stream } -    tryAddrs []     = error "listen: no addresses available"+    tryAddrs []     = error "bindSock: no addresses available"     tryAddrs [x]    = useAddr x     tryAddrs (x:xs) = E.catch (useAddr x)                               (\e -> let _ = e :: E.IOException in tryAddrs xs)