packages feed

warp-tls 3.4.0 → 3.4.1

raw patch · 3 files changed

+9/−1 lines, 3 files

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog +## 3.4.1++* Supporting `tls` v1.8.0.+ ## 3.4.0  * Major version up to deprecate v3.3.7 due to the incompatibility
Network/Wai/Handler/WarpTLS.hs view
@@ -335,7 +335,11 @@         recv = handle onEOF $ TLS.recvData ctx           where             onEOF e+#if MIN_VERSION_tls(1,8,0)+              | Just (TLS.PostHandshake TLS.Error_EOF) <- E.fromException e = return S.empty+#else               | Just TLS.Error_EOF <- fromException e       = return S.empty+#endif               | Just ioe <- fromException e, isEOFError ioe = return S.empty                  | otherwise                                   = throwIO e         sendfile fid offset len hook headers = do             writeBuffer <- I.readIORef writeBufferRef
warp-tls.cabal view
@@ -1,5 +1,5 @@ Name:                warp-tls-Version:             3.4.0+Version:             3.4.1 Synopsis:            HTTP over TLS support for Warp via the TLS package License:             MIT License-file:        LICENSE