@@ -141,11 +141,9 @@ sendResponse settings ii req conn restore reqidxhdr (ResponseSource s hs withBod
141 return isPersist
141 return isPersist
143 th = threadHandle ii
143 th = threadHandle ii
145− if needsChunked then body $= chunk else body
144+ cbody bodyFlush = if needsChunked then body $= chunk else body
148− mapOutput (\x -> case x of
146+ body = mapOutput (\x -> case x of
149 Flush -> flush
147 Flush -> flush
150 Chunk builder -> builder)
148 Chunk builder -> builder)
151 bodyFlush
149 bodyFlush