diff --git a/Network/Wai/Handler/WarpTLS.hs b/Network/Wai/Handler/WarpTLS.hs
--- a/Network/Wai/Handler/WarpTLS.hs
+++ b/Network/Wai/Handler/WarpTLS.hs
@@ -128,7 +128,7 @@
                                 $ filter ((== "RSA PRIVATE KEY") . PEM.pemName) pems
           parseKey (Left err) = error $ "Cannot parse PEM file: " ++ err
 
-takeMost :: Monad m => Int -> C.GLSink B.ByteString m B.ByteString
+takeMost :: Monad m => Int -> C.Sink B.ByteString m B.ByteString
 takeMost i =
     C.await >>= maybe (return B.empty) go
   where
diff --git a/warp-tls.cabal b/warp-tls.cabal
--- a/warp-tls.cabal
+++ b/warp-tls.cabal
@@ -1,5 +1,5 @@
 Name:                warp-tls
-Version:             1.3.5
+Version:             1.3.5.1
 Synopsis:            SSL support for Warp via the TLS package
 License:             MIT
 License-file:        LICENSE
@@ -18,8 +18,8 @@
                    , wai                           >= 1.3      && < 1.4
                    , warp                          >= 1.3.5    && < 1.4
                    , transformers                  >= 0.2
-                   , conduit                       >= 0.5      && < 0.6
-                   , network-conduit               >= 0.6      && < 0.7
+                   , conduit                       >= 0.5      && < 1.1
+                   , network-conduit               >= 0.6      && < 1.1
                    , certificate                   >= 1.2
                    , pem                           >= 0.1
                    , cryptocipher                  >= 0.3
