network-conduit 0.6.1 → 0.6.1.1
raw patch · 2 files changed
+6/−3 lines, 2 filesdep ~lifted-basedep ~networkPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: lifted-base, network
API changes (from Hackage documentation)
Files
- Data/Conduit/Network.hs +4/−1
- network-conduit.cabal +2/−2
Data/Conduit/Network.hs view
@@ -167,12 +167,15 @@ -- | Attempt to bind a listening @Socket@ on the given host/port. If no host is -- given, will use the first address available.+-- 'maxListenQueue' is topically 128 which is too short for+-- high performance servers. So, we specify 'max 2048 maxListenQueue' to+-- the listen queue. -- -- Since 0.3.0 bindPort :: Int -> HostPreference -> IO Socket bindPort p s = do sock <- Utils.bindPort p s NS.Stream- NS.listen sock NS.maxListenQueue+ NS.listen sock (max 2048 NS.maxListenQueue) return sock -- | Try to accept a connection, recovering automatically from exceptions.
network-conduit.cabal view
@@ -1,5 +1,5 @@ Name: network-conduit-Version: 0.6.1+Version: 0.6.1.1 Synopsis: Stream socket data using conduits. Description: Stream socket data using conduits. License: BSD3@@ -24,7 +24,7 @@ , transformers >= 0.2.2 && < 0.4 , bytestring >= 0.9 , conduit >= 0.5 && < 0.6- , lifted-base >= 0.1 && < 0.2+ , lifted-base >= 0.1 , monad-control >= 0.3 && < 0.4 if flag(network-bytestring) build-depends: network >= 2.2.1 && < 2.2.3