http3 0.0.3 → 0.0.4
raw patch · 6 files changed
+19/−6 lines, 6 filesdep +cryptondep −cryptonitedep ~http2dep ~quicPVP ok
version bump matches the API change (PVP)
Dependencies added: crypton
Dependencies removed: cryptonite
Dependency ranges changed: http2, quic
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Network/HQ/Client.hs +1/−0
- Network/HTTP3/Client.hs +1/−0
- http3.cabal +4/−4
- test/HTTP3/Server.hs +1/−0
- test/HTTP3/ServerSpec.hs +8/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for http3 +## 0.0.4++* Using "crypton" intead of "cryptonite".+ ## 0.0.3 * Fixes for HTTP/3 CONNECT proxy
Network/HQ/Client.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RankNTypes #-} {-# LANGUAGE RecordWildCards #-} -- | A client library for HTTP/0.9.
Network/HTTP3/Client.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RankNTypes #-} {-# LANGUAGE RecordWildCards #-} -- | A client library for HTTP/3.
http3.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: http3-version: 0.0.3+version: 0.0.4 license: BSD-3-Clause license-file: LICENSE maintainer: Kazu Yamamoto <kazu@iij.ad.jp>@@ -81,11 +81,11 @@ bytestring, case-insensitive, containers,- http2 >=4.1 && <5,+ http2 >=4.1.3 && <5, http-types, network, network-byte-order,- quic,+ quic >= 0.1.2, sockaddr, stm, time-manager,@@ -194,7 +194,7 @@ bytestring, conduit, conduit-extra,- cryptonite,+ crypton, hspec >=1.3, http-types, http2,
test/HTTP3/Server.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RankNTypes #-} module HTTP3.Server ( setup
test/HTTP3/ServerSpec.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RankNTypes #-} module HTTP3.ServerSpec where @@ -28,8 +29,13 @@ E.bracket allocSimpleConfig freeSimpleConfig $ \conf -> C.run conn testH3ClientConfig conf client where- client sendRequest = mapConcurrently_ ($ sendRequest) clients- clients = [client0,client1,client2,client3]+ client :: C.Client ()+ client sendRequest = foldr1 concurrently_ [+ client0 sendRequest+ , client1 sendRequest+ , client2 sendRequest+ , client3 sendRequest+ ] client0 :: C.Client () client0 sendRequest = do