packages feed

streaming-commons 0.1.14.2 → 0.1.15

raw patch · 3 files changed

+6/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.1.15++* Use `NO_DELAY1 for TCP client connections [#27](https://github.com/fpco/streaming-commons/issues/27)+ ## 0.1.14.2  * Fix bug in process exception display of args with spaces/quotes
Data/Streaming/Network.hs view
@@ -409,6 +409,7 @@ getSocketFamilyTCP :: ByteString -> Int -> NS.Family -> IO (NS.Socket, NS.SockAddr) getSocketFamilyTCP host' port' addrFamily = do     (sock, addr) <- getSocketFamilyGen NS.Stream (S8.unpack host') port' addrFamily+    NS.setSocketOption sock NS.NoDelay 1     ee <- try' $ NS.connect sock (NS.addrAddress addr)     case ee of         Left e -> NS.sClose sock >> throwIO e
streaming-commons.cabal view
@@ -1,5 +1,5 @@ name:                streaming-commons-version:             0.1.14.2+version:             0.1.15 synopsis:            Common lower-level functions needed by various streaming data libraries description:         Provides low-dependency functionality commonly needed by various streaming data libraries, such as conduit and pipes. homepage:            https://github.com/fpco/streaming-commons