Resume timeout handlers between requests #231
commit322515daf3d63abb2f08343d54e4313a47ae82d3
authorMichael Snoyman <michael@snoyman.com>
dateWed 5 Mar 2014, 19:13 (13 years ago)
parent2c15f79
warp/Network/Wai/Handler/Warp/Run.hs+1
@@ -268,6 +268,7 @@ serveConnection conn ii addr settings app = do
268268 requestBody req $$ CL.sinkNull
269269 ResumableSource fromClient' _ <- getSource
270270
271+ T.resume th
271272 when keepAlive $ recvSendLoop istatus fromClient'
272273 Just intercept -> do
273274 T.pause th
warp/warp.cabal+1−1
@@ -1,5 +1,5 @@
11Name: warp
2−Version: 2.0.3.2
2+Version: 2.0.3.3
33Synopsis: A fast, light-weight web server for WAI applications.
44License: MIT
55License-file: LICENSE