Skip to content

Commit

Permalink
using http2 v5
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Nov 19, 2023
1 parent 58c8e69 commit bbab972
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion warp/Network/Wai/Handler/Warp/HTTP2.hs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ http2 settings ii conn transport app peersa th bs = do
}
checkTLS
setConnHTTP2 conn True
H2.run conf $ http2server settings ii transport peersa app
H2.run H2.defaultServerConfig conf $ http2server settings ii transport peersa app
where
checkTLS = case transport of
TCP -> return () -- direct
Expand Down
4 changes: 2 additions & 2 deletions warp/warp.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Library
, hashable
, http-date
, http-types >= 0.12
, http2 >= 3.0 && < 5
, http2 >= 5.0 && < 5.1
, iproute >= 1.3.1
, recv >= 0.1.0 && < 0.2.0
, simple-sendfile >= 0.2.7 && < 0.3
Expand Down Expand Up @@ -201,7 +201,7 @@ Test-Suite spec
, http-client
, http-date
, http-types >= 0.12
, http2 >= 3.0 && < 5
, http2 >= 5.0 && < 5.1
, iproute >= 1.3.1
, network
, process
Expand Down

0 comments on commit bbab972

Please sign in to comment.