diff --git a/Network/HTTP2/TLS/Server.hs b/Network/HTTP2/TLS/Server.hs
--- a/Network/HTTP2/TLS/Server.hs
+++ b/Network/HTTP2/TLS/Server.hs
@@ -57,14 +57,14 @@
     Server,
     connectionWindowSize,
     defaultServerConfig,
+    emptyFrameRateLimit,
     initialWindowSize,
     maxConcurrentStreams,
     numberOfWorkers,
     pingRateLimit,
-    emptyFrameRateLimit,
-    settingsRateLimit,
     rstRateLimit,
     settings,
+    settingsRateLimit,
  )
 import qualified Network.HTTP2.Server as H2Server
 import Network.HTTP2.Server.Internal (ServerIO, Stream)
@@ -195,14 +195,14 @@
     :: Settings
     -> Credentials
     -> Socket
-    -> (ServerIO -> IO (IO ()))
+    -> (ServerIO Stream -> IO (IO ()))
     -> IO ()
 runIO settings creds s action =
     runTLSWithSocket settings creds s "h2" $ \mgr iobackend ->
         runIO' settings action mgr iobackend
 
 runIO'
-    :: Settings -> (ServerIO -> IO (IO ())) -> T.Manager -> IOBackend -> IO ()
+    :: Settings -> (ServerIO Stream -> IO (IO ())) -> T.Manager -> IOBackend -> IO ()
 runIO' settings0@Settings{..} action mgr IOBackend{..} =
     E.bracket
         (allocConfigForServer settings0 mgr send recv mySockAddr peerSockAddr)
@@ -225,7 +225,7 @@
             }
 
 runIOH2C
-    :: Settings -> Socket -> (ServerIO -> IO (IO ())) -> IO ()
+    :: Settings -> Socket -> (ServerIO Stream -> IO (IO ())) -> IO ()
 runIOH2C settings0@Settings{..} s action =
     runTCPServerWithSocket
         settingsTimeout
diff --git a/http2-tls.cabal b/http2-tls.cabal
--- a/http2-tls.cabal
+++ b/http2-tls.cabal
@@ -1,6 +1,6 @@
 cabal-version: >=1.10
 name:          http2-tls
-version:       0.4.1
+version:       0.4.2
 license:       BSD3
 license-file:  LICENSE
 maintainer:    Kazu Yamamoto <kazu@iij.ad.jp>
@@ -41,7 +41,7 @@
         crypton-x509-store >=1.6 && <1.7,
         crypton-x509-validation >=1.6 && <1.7,
         data-default-class >=0.1 && <0.2,
-        http2 >=5.3 && <5.4,
+        http2 >=5.3.2 && <5.4,
         network >=3.1.4,
         network-control >=0.1 && <0.2,
         network-run >=0.4 && <0.5,
