packages feed

warp 1.3.7.2 → 1.3.7.3

raw patch · 3 files changed

+11/−10 lines, 3 filesdep ~blaze-builder-conduitdep ~conduitdep ~network-conduit

Dependency ranges changed: blaze-builder-conduit, conduit, network-conduit

Files

Network/Wai/Handler/Warp/Request.hs view
@@ -147,7 +147,7 @@ close :: Sink ByteString (ResourceT IO) a close = throwIO IncompleteHeaders -push :: THStatus -> ByteString -> Pipe ByteString ByteString Void () (ResourceT IO) [ByteString]+push :: THStatus -> ByteString -> Sink ByteString (ResourceT IO) [ByteString] push (THStatus len lines prepend) bs         -- Too many bytes         | len > maxTotalHeaderLength = throwIO OverLargeHeader
Network/Wai/Handler/Warp/Response.hs view
@@ -1,6 +1,5 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-}-{-# LANGUAGE CPP #-}  module Network.Wai.Handler.Warp.Response (     sendResponse@@ -107,9 +106,11 @@       return isPersist   where     th = threadHandle cleaner-    body = mapOutput (\x -> case x of+    body =+           mapOutput (\x -> case x of                     Flush -> flush-                    Chunk builder -> builder) bodyFlush+                    Chunk builder -> builder)+           bodyFlush     cbody = if needsChunked then body $= chunk else body     -- FIXME perhaps alloca a buffer per thread and reuse that in all     -- functions below. Should lessen greatly the GC burden (I hope)
warp.cabal view
@@ -1,5 +1,5 @@ Name:                warp-Version:             1.3.7.2+Version:             1.3.7.3 Synopsis:            A fast, light-weight web server for WAI applications. License:             MIT License-file:        LICENSE@@ -23,14 +23,14 @@ Library   Build-Depends:     base                      >= 3        && < 5                    , blaze-builder             >= 0.2.1.4  && < 0.4-                   , blaze-builder-conduit     >= 0.5      && < 0.6+                   , blaze-builder-conduit     >= 0.5      && < 1.1                    , bytestring                >= 0.9.1.4                    , case-insensitive          >= 0.2-                   , conduit                   >= 0.5      && < 0.6+                   , conduit                   >= 0.5      && < 1.1                    , ghc-prim                    , http-types                >= 0.7                    , lifted-base               >= 0.1-                   , network-conduit           >= 0.5      && < 0.7+                   , network-conduit           >= 0.5      && < 1.1                    , simple-sendfile           >= 0.2.7    && < 0.3                    , transformers              >= 0.2.2    && < 0.4                    , unix-compat               >= 0.2@@ -71,10 +71,10 @@     Ghc-Options:     -Wall     Build-Depends:   base >= 4 && < 5                    , blaze-builder             >= 0.2.1.4  && < 0.4-                   , blaze-builder-conduit     >= 0.5      && < 0.6+                   , blaze-builder-conduit     >= 0.5                    , bytestring                >= 0.9.1.4                    , case-insensitive          >= 0.2-                   , conduit                   >= 0.5      && < 0.6+                   , conduit                   >= 0.5                    , ghc-prim                    , http-types                >= 0.7                    , lifted-base               >= 0.1