http3 0.0.13 → 0.0.14
raw patch · 3 files changed
+9/−5 lines, 3 filesdep ~tlsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: tls
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- http3.cabal +2/−2
- util/h3-client.hs +3/−3
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for http3 +## 0.0.14++* Preparing for tls v2.1+ ## 0.0.13 * Using OutBodyIface.
http3.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: http3-version: 0.0.13+version: 0.0.14 license: BSD-3-Clause license-file: LICENSE maintainer: Kazu Yamamoto <kazu@iij.ad.jp>@@ -112,7 +112,7 @@ http2, http3, quic,- tls,+ tls < 2.2, tls-session-manager, unliftio
util/h3-client.hs view
@@ -396,11 +396,11 @@ } printThroughput :: UnixTime -> UnixTime -> ConnectionStats -> IO ()-printThroughput t1 t2 ConnectionStats{..} =+printThroughput t1 t2 st = printf "Throughput %.2f Mbps (%d bytes in %d msecs)\n" bytesPerSeconds- rxBytes+ (rxBytes st) millisecs where UnixDiffTime (CTime s) u = t2 `diffUnixTime` t1@@ -408,7 +408,7 @@ millisecs = fromIntegral s * 1000 + fromIntegral u `div` 1000 bytesPerSeconds :: Double bytesPerSeconds =- fromIntegral rxBytes+ fromIntegral (rxBytes st) * (1000 :: Double) * 8 / fromIntegral millisecs