packages feed

warp-quic 0.0.1 → 0.0.2

raw patch · 3 files changed

+16/−3 lines, 3 filesdep ~warpPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: warp

API changes (from Hackage documentation)

+ Network.Wai.Handler.WarpQUIC: runQUICSockets :: QUICSettings -> Settings -> [Socket] -> Application -> IO ()

Files

ChangeLog.md view
@@ -1,5 +1,10 @@ # Revision history for warp-quic +## 0.0.2++* Labeling threads.+* New API: runQUICSockets.+ ## 0.0.1  * Providing `runQUICSocket`.
Network/Wai/Handler/WarpQUIC.hs view
@@ -22,6 +22,11 @@     withII settings $ \ii ->         Q.runWithSockets [sock] quicsettings $ quicApp settings app ii +runQUICSockets :: QUICSettings -> Settings -> [Socket] -> Application -> IO ()+runQUICSockets quicsettings settings ss app =+    withII settings $ \ii ->+        Q.runWithSockets ss quicsettings $ quicApp settings app ii+ -- | Running warp with HTTP/3 on QUIC. runQUIC :: QUICSettings -> Settings -> Application -> IO () runQUIC quicsettings settings app =@@ -54,4 +59,7 @@             let runX                     | "h3" `BS.isPrefixOf` appProto = H3.run                     | otherwise = HQ.run-            runX conn conf $ http2server settings ii transport addr app+                label+                    | "h3" `BS.isPrefixOf` appProto = "Warp HTTP/3"+                    | otherwise = "Warp HQ"+            runX conn conf $ http2server label settings ii transport addr app
warp-quic.cabal view
@@ -1,6 +1,6 @@ cabal-version:      >=1.10 name:               warp-quic-version:            0.0.1+version:            0.0.2 license:            BSD3 license-file:       LICENSE maintainer:         Kazu Yamamoto <kazu@iij.ad.jp>@@ -24,7 +24,7 @@         quic >=0.2 && <0.3,         tls >=1.7,         wai,-        warp >=3.3.15+        warp >=3.4.4      if impl(ghc >=8)         default-extensions: Strict StrictData