http2-tls 0.0.0 → 0.0.1
raw patch · 2 files changed
+7/−2 lines, 2 filesdep ~tlsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: tls
API changes (from Hackage documentation)
Files
- Network/HTTP2/TLS/IO.hs +5/−0
- http2-tls.cabal +2/−2
Network/HTTP2/TLS/IO.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} @@ -89,7 +90,11 @@ recvTLS ctx = E.handle onEOF $ recvData ctx where onEOF e+#if MIN_VERSION_tls(1,8,0)+ | Just (PostHandshake Error_EOF) <- E.fromException e = return ""+#else | Just Error_EOF <- E.fromException e = return ""+#endif | Just ioe <- E.fromException e, isEOFError ioe = return "" | otherwise = E.throwIO e
http2-tls.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: http2-tls-version: 0.0.0+version: 0.0.1 license: BSD3 license-file: LICENSE maintainer: Kazu Yamamoto <kazu@iij.ad.jp>@@ -41,5 +41,5 @@ network-run >=0.2.6, recv, time-manager,- tls,+ tls >=1.7.0, unliftio