streaming-commons 0.2.1.2 → 0.2.2.0
raw patch · 4 files changed
+17/−8 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- ChangeLog.md +4/−0
- Data/Streaming/Network.hs +2/−5
- Data/Streaming/Process.hs +3/−0
- streaming-commons.cabal +8/−3
ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for streaming-commons +## 0.2.2.0++* Remove `AI_ADDRCONFIG` [#58](https://github.com/fpco/streaming-commons/issues/58)+ ## 0.2.1.2 * Update `defaultReadBufferSize` to use system default instead of hardcoded value [#54](https://github.com/fpco/streaming-commons/issues/54)
Data/Streaming/Network.hs view
@@ -120,8 +120,7 @@ NS.getAddrInfo (Just hints) (Just host') (Just $ show port') where hints = NS.defaultHints {- NS.addrFlags = [NS.AI_ADDRCONFIG]- , NS.addrSocketType = sockettype+ NS.addrSocketType = sockettype , NS.addrFamily = af } @@ -157,9 +156,7 @@ bindPortGenEx :: [(NS.SocketOption, Int)] -> SocketType -> Int -> HostPreference -> IO Socket bindPortGenEx sockOpts sockettype p s = do let hints = NS.defaultHints- { NS.addrFlags = [ NS.AI_PASSIVE- , NS.AI_ADDRCONFIG- ]+ { NS.addrFlags = [NS.AI_PASSIVE] , NS.addrSocketType = sockettype } host =
Data/Streaming/Process.hs view
@@ -79,6 +79,9 @@ -- | Close the stream with the child process. --+-- You usually do not want to use this, as it will leave the corresponding file+-- descriptor unassigned and hence available for re-use in the child process.+-- -- Since 0.1.4 data ClosedStream = ClosedStream
streaming-commons.cabal view
@@ -1,5 +1,5 @@ name: streaming-commons-version: 0.2.1.2+version: 0.2.2.0 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@@ -10,7 +10,7 @@ -- copyright: category: Data build-type: Simple-cabal-version: >=1.8+cabal-version: >=1.10 extra-source-files: test/filesystem/*.txt test/filesystem/bin/*.txt@@ -25,6 +25,7 @@ default: False library+ default-language: Haskell2010 exposed-modules: Data.Streaming.ByteString.Builder Data.Streaming.ByteString.Builder.Buffer Data.Streaming.FileRead@@ -45,7 +46,7 @@ Data.Text.Internal.Encoding.Utf16 Data.Text.Internal.Encoding.Utf32 - build-depends: base >= 4.8 && < 5+ build-depends: base >= 4.9 && < 5 , array , async , bytestring@@ -77,6 +78,7 @@ build-depends: bytestring >= 0.10.2.0 test-suite test+ default-language: Haskell2010 hs-source-dirs: test main-is: Spec.hs type: exitcode-stdio-1.0@@ -113,6 +115,7 @@ build-depends: unix benchmark count-chars+ default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench build-depends: base@@ -124,6 +127,7 @@ ghc-options: -Wall -O2 benchmark decode-memory-usage+ default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench build-depends: base@@ -134,6 +138,7 @@ ghc-options: -Wall -O2 -with-rtsopts=-s benchmark builder-to-bytestring-io+ default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench main-is: builder-to-bytestring-io.hs