websockets 0.12.1.0 → 0.12.2.0
raw patch · 3 files changed
+5/−3 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
CHANGELOG view
@@ -1,3 +1,6 @@+- 0.12.2.0 (2017-07-28)+ * Don't use LambdaCase, we want to support older GHC versions+ - 0.12.1.0 (2017-07-22) * Fix Monoid import on older base versions * Increase lower bound on `binary` to 0.8.1 (by Jonathan Daugherty)
src/Network/WebSockets/Extensions/PermessageDeflate.hs view
@@ -1,5 +1,4 @@ ---------------------------------------------------------------------------------{-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TupleSections #-}@@ -224,7 +223,7 @@ -------------------------------------------------------------------------------- dePopper :: Zlib.Popper -> IO BL.ByteString-dePopper p = p >>= \case+dePopper p = p >>= \res -> case res of Zlib.PRDone -> return BL.empty Zlib.PRNext c -> BL.chunk c <$> dePopper p Zlib.PRError x -> throwIO $ CloseRequest 1002 (BL8.pack (show x))
websockets.cabal view
@@ -1,5 +1,5 @@ Name: websockets-Version: 0.12.1.0+Version: 0.12.2.0 Synopsis: A sensible and clean way to write WebSocket-capable servers in Haskell.