diff --git a/mighttpd2.cabal b/mighttpd2.cabal
--- a/mighttpd2.cabal
+++ b/mighttpd2.cabal
@@ -1,5 +1,5 @@
 Name:                   mighttpd2
-Version:                3.3.3
+Version:                3.3.4
 Author:                 Kazu Yamamoto <kazu@iij.ad.jp>
 Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp>
 License:                BSD3
@@ -84,7 +84,7 @@
                       , wai-app-file-cgi >= 3.1.1 && < 3.2
                       , wai-logger >= 2.3.0
                       , warp >= 3.2.7 && < 3.3
-                      , wai-http2-extra
+                      , wai-http2-extra >= 0.1
   if flag(tls)
     Build-Depends:      tls
                       , warp-tls >= 3.2 && < 3.3
diff --git a/src/Server.hs b/src/Server.hs
--- a/src/Server.hs
+++ b/src/Server.hs
@@ -21,7 +21,7 @@
 import Program.Mighty
 import WaiApp
 
-import Network.Wai.Middleware.Push.Referer
+import qualified Network.Wai.Middleware.Push.Referer as P
 
 #ifdef HTTP_OVER_TLS
 import Control.Concurrent.Async (concurrently)
@@ -160,8 +160,8 @@
     _ -> error "never reach"
 #endif
   where
-    app = pushOnReferer defaultMakePushPromise
-                        (fileCgiApp cspec filespec cgispec revproxyspec rdr)
+    app = P.pushOnReferer P.defaultSettings
+                          (fileCgiApp cspec filespec cgispec revproxyspec rdr)
     debug = opt_debug_mode opt
     -- We don't use setInstallShutdownHandler because we may use
     -- two sockets for HTTP and HTTPS.
