packages feed

http-client-tls 0.3.6.2 → 0.3.6.3

raw patch · 3 files changed

+12/−1 lines, 3 filesdep ~tls

Dependency ranges changed: tls

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for http-client-tls +## 0.3.6.3++* catching up to tls 1.8.0 [#515](https://github.com/snoyberg/http-client/pull/515)+ ## 0.3.6.2  * Migrate to `crypton`
Network/HTTP/Client/TLS.hs view
@@ -91,13 +91,19 @@     , managerRetryableException = \e ->         case () of             ()+#if MIN_VERSION_tls(1,8,0)+                | ((fromException e)::(Maybe TLS.TLSException))==Just (TLS.PostHandshake TLS.Error_EOF) -> True+#else                 | ((fromException e)::(Maybe TLS.TLSError))==Just TLS.Error_EOF -> True+#endif                 | otherwise -> managerRetryableException defaultManagerSettings e     , managerWrapException = \req ->         let wrapper se               | Just (_ :: IOException)          <- fromException se = se'               | Just (_ :: TLS.TLSException)     <- fromException se = se'+#if !MIN_VERSION_tls(1,8,0)               | Just (_ :: TLS.TLSError)         <- fromException se = se'+#endif               | Just (_ :: NC.LineTooLong)       <- fromException se = se'               | Just (_ :: NC.HostNotResolved)   <- fromException se = se'               | Just (_ :: NC.HostCannotConnect) <- fromException se = se'
http-client-tls.cabal view
@@ -1,5 +1,5 @@ name:                http-client-tls-version:             0.3.6.2+version:             0.3.6.3 synopsis:            http-client backend using the connection package and tls library description:         Hackage documentation generation is not reliable. For up to date documentation, please see: <https://www.stackage.org/package/http-client-tls>. homepage:            https://github.com/snoyberg/http-client@@ -45,6 +45,7 @@                      , http-client                      , http-client-tls                      , http-types+                     , crypton-connection  benchmark benchmark   main-is:             Bench.hs