network-conduit-tls 1.1.1 → 1.1.1.1
raw patch · 3 files changed
+17/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Data/Conduit/Network/TLS.hs +12/−0
- network-conduit-tls.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.1.1.1++* Fill in `appRawSocket` for streaming-commons 0.1.12 and later+ ## 1.1.1 * Support chain certificates in network-conduit-tls [#203](https://github.com/snoyberg/conduit/pull/203)
Data/Conduit/Network/TLS.hs view
@@ -192,6 +192,9 @@ #if MIN_VERSION_streaming_commons(0,1,6) , appCloseConnection' = sClose socket #endif+#if MIN_VERSION_streaming_commons(0,1,12)+ , appRawSocket' = Just socket+#endif } -- wrap up the current connection with TLS startTls = \app' -> do@@ -227,6 +230,9 @@ #if MIN_VERSION_streaming_commons(0,1,6) , appCloseConnection' = TLS.contextClose ctx #endif+#if MIN_VERSION_streaming_commons(0,1,12)+ , appRawSocket' = Nothing+#endif } -- taken from stunnel example in tls-extra@@ -335,6 +341,9 @@ #if MIN_VERSION_streaming_commons(0,1,6) , appCloseConnection' = NC.connectionClose conn #endif+#if MIN_VERSION_streaming_commons(0,1,12)+ , appRawSocket' = Nothing+#endif }) @@ -375,6 +384,9 @@ , appLocalAddr' = Nothing #if MIN_VERSION_streaming_commons(0,1,6) , appCloseConnection' = NC.connectionClose conn+#endif+#if MIN_VERSION_streaming_commons(0,1,12)+ , appRawSocket' = Nothing #endif } )
network-conduit-tls.cabal view
@@ -1,5 +1,5 @@ name: network-conduit-tls-version: 1.1.1+version: 1.1.1.1 synopsis: Create TLS-aware network code with conduits description: Uses the tls package for a pure-Haskell implementation. homepage: https://github.com/snoyberg/conduit