on master help sign in
warp: Replace blaze-builder with bsb-http-chunked
commit9348c59fa23a76313ad92fa6956340834a7d703c authorSimon Jakobi <simon.jakobi@gmail.com> dateMon 12 Mar 2018, 20:55 (9 years ago) parenta80becd
3 files changed+4−3
stack.yaml+1 warp/Network/Wai/Handler/Warp/Response.hs+1−1 warp/warp.cabal+2−2
stack.yaml+1
@@ -14,6 +14,7 @@ flags:
1414 wai-extra:
1515 build-example: true
1616extra-deps:
17+- bsb-http-chunked-0
1718- tls-session-manager-0.0.0.2
1819- psqueues-0.2.4.0
1920- streaming-commons-0.2.0.0
warp/Network/Wai/Handler/Warp/Response.hs+1−1
@@ -13,7 +13,7 @@ module Network.Wai.Handler.Warp.Response (
1313 , addServer -- testing
1414 ) where
1515
16−import Blaze.ByteString.Builder.HTTP (chunkedTransferEncoding, chunkedTransferTerminator)
16+import Data.ByteString.Builder.HTTP.Chunked (chunkedTransferEncoding, chunkedTransferTerminator)
1717import qualified Control.Exception as E
1818import Data.Array ((!))
1919import qualified Data.ByteString as S
warp/warp.cabal+2−2
@@ -37,7 +37,7 @@ Library
3737 , array
3838 , async
3939 , auto-update >= 0.1.3 && < 0.2
40− , blaze-builder >= 0.4
40+ , bsb-http-chunked < 0.1
4141 , bytestring >= 0.9.1.4
4242 , case-insensitive >= 0.2
4343 , containers
@@ -181,7 +181,7 @@ Test-Suite spec
181181 Build-Depends: base >= 4.8 && < 5
182182 , array
183183 , auto-update
184− , blaze-builder >= 0.4
184+ , bsb-http-chunked < 0.1
185185 , bytestring >= 0.9.1.4
186186 , case-insensitive >= 0.2
187187 , ghc-prim