warp 1.3.3 → 1.3.3.1
raw patch · 2 files changed
+6/−3 lines, 2 filesdep ~network-conduit
Dependency ranges changed: network-conduit
Files
- Network/Wai/Handler/Warp/Conduit.hs +4/−1
- warp.cabal +2/−2
Network/Wai/Handler/Warp/Conduit.hs view
@@ -79,6 +79,9 @@ | NeedLenNewline | HaveLen Word +bsCRLF :: L.ByteString+bsCRLF = pack "\r\n"+ chunkedSource :: MonadIO m => I.IORef (ResumableSource m ByteString, ChunkState) -> Source m ByteString@@ -99,7 +102,7 @@ -- Drop the final CRLF (src', ()) <- lift $ src $$++ do crlf <- CB.take 2- unless (crlf == pack "\r\n") $ leftover $ S.concat $ L.toChunks crlf+ unless (crlf == bsCRLF) $ leftover $ S.concat $ L.toChunks crlf liftIO $ I.writeIORef ipair (src', HaveLen 0) go src (HaveLen len) = do (src', mbs) <- lift $ src $$++ CL.head
warp.cabal view
@@ -1,5 +1,5 @@ Name: warp-Version: 1.3.3+Version: 1.3.3.1 Synopsis: A fast, light-weight web server for WAI applications. License: MIT License-file: LICENSE@@ -25,7 +25,7 @@ , ghc-prim , http-types >= 0.7 && < 0.8 , lifted-base >= 0.1 && < 0.2- , network-conduit >= 0.5 && < 0.6+ , network-conduit >= 0.5 && < 0.7 , simple-sendfile >= 0.2.7 && < 0.3 , transformers >= 0.2.2 && < 0.4 , unix-compat >= 0.2