http2 5.0.0 → 5.0.1
raw patch · 3 files changed
+18/−2 lines, 3 filesdep ~bytestring
Dependency ranges changed: bytestring
Files
- ChangeLog.md +4/−0
- Network/HTTP2/Client/Run.hs +12/−0
- http2.cabal +2/−2
ChangeLog.md view
@@ -1,3 +1,7 @@+## 5.0.1++* Allowing bytestring 0.12.+ ## 5.0.0 * Using the network-control package.
Network/HTTP2/Client/Run.hs view
@@ -37,6 +37,18 @@ -- | The default client config. --+-- The @authority@ field will be used to set the HTTP2 @:authority@+-- pseudo-header. In most cases you will want to override it to be equal to+-- @host@.+--+-- Further background on @authority@:+-- [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-3.2) also+-- allows @host:port@, and most servers will accept this too. However, when+-- using TLS, many servers will expect the TLS SNI server name and the+-- @:authority@ pseudo-header to be equal, and for TLS SNI the server name+-- should not include the port. Note that HTTP2 explicitly /disallows/ using+-- @userinfo\@@ as part of the authority.+-- -- >>> defaultClientConfig -- ClientConfig {scheme = "http", authority = "localhost", cacheLimit = 64, connectionWindowSize = 1048576, settings = Settings {headerTableSize = 4096, enablePush = True, maxConcurrentStreams = Just 64, initialWindowSize = 262144, maxFrameSize = 16384, maxHeaderListSize = Nothing}} defaultClientConfig :: ClientConfig
http2.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: http2-version: 5.0.0+version: 5.0.1 license: BSD3 license-file: LICENSE maintainer: Kazu Yamamoto <kazu@iij.ad.jp>@@ -117,7 +117,7 @@ base >=4.9 && <5, array >= 0.5 && < 0.6, async >= 2.2 && < 2.3,- bytestring >= 0.10 && < 0.12,+ bytestring >= 0.10 && < 0.13, containers >= 0.6 && < 0.7, stm >= 2.5 && < 2.6, case-insensitive >= 1.2 && < 1.3,