diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,9 @@
 # ChangeLog for warp
 
+## 3.3.31
+
+* Supporting http2 v5.0.
+
 ## 3.3.30
 
 * Length of `ResponseBuilder` responses will now also be passed to the logger.
diff --git a/Network/Wai/Handler/Warp/HTTP2.hs b/Network/Wai/Handler/Warp/HTTP2.hs
--- a/Network/Wai/Handler/Warp/HTTP2.hs
+++ b/Network/Wai/Handler/Warp/HTTP2.hs
@@ -59,7 +59,7 @@
           }
     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
diff --git a/warp.cabal b/warp.cabal
--- a/warp.cabal
+++ b/warp.cabal
@@ -1,5 +1,5 @@
 Name:                warp
-Version:             3.3.30
+Version:             3.3.31
 Synopsis:            A fast, light-weight web server for WAI applications.
 License:             MIT
 License-file:        LICENSE
@@ -48,7 +48,7 @@
                    , 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
@@ -201,7 +201,7 @@
                    , http-client
                    , http-date
                    , http-types                >= 0.12
-                   , http2                     >= 3.0      && < 5
+                   , http2                     >= 5.0      && < 5.1
                    , iproute                   >= 1.3.1
                    , network
                    , process
