on master help sign in
Change $$& to $$+
commit98f0bcf3b178cc4b236fbdf48751aa9453219380 authorMichael Snoyman <michael@snoyman.com> dateThu 29 Mar 2012, 07:14 (15 years ago) parent92b36ba
2 files changed+3−3
conduit+1−1 warp/Network/Wai/Handler/Warp.hs+2−2
conduit+1−1

Submodule changed.

warp/Network/Wai/Handler/Warp.hs+2−2
@@ -228,7 +228,7 @@ ibsIsolate ibs@(IsolatedBSSource ref) =
228228 then return $ C.Done Nothing ()
229229 else do
230230 -- Get the next chunk (if available) and the updated source
231− (src', mbs) <- src C.$$& CL.head
231+ (src', mbs) <- src C.$$+ CL.head
232232
233233 -- If no chunk available, then there aren't enough bytes in the
234234 -- stream. Throw a ConnectionClosedByPeer
@@ -308,7 +308,7 @@ parseRequest :: Connection -> Port -> SockAddr
308308 -> C.Source (ResourceT IO) S.ByteString
309309 -> ResourceT IO (Request, IsolatedBSSource)
310310parseRequest conn port remoteHost' src1 = do
311− (src2, headers') <- src1 C.$$& takeHeaders
311+ (src2, headers') <- src1 C.$$+ takeHeaders
312312 parseRequest' conn port headers' remoteHost' src2
313313
314314-- FIXME come up with good values here