warp 3.4.0 → 3.4.1
raw patch · 3 files changed
+16/−11 lines, 3 filesdep ~auto-updatedep ~http2dep ~time-manager
Dependency ranges changed: auto-update, http2, time-manager
Files
- ChangeLog.md +5/−0
- Network/Wai/Handler/Warp/FileInfoCache.hs +6/−6
- warp.cabal +5/−5
ChangeLog.md view
@@ -1,5 +1,10 @@ # ChangeLog for warp +## 3.4.1++* Using time-manager v0.1.0, and auto-update v0.2.0.+ [#986](https://github.com/yesodweb/wai/pull/986)+ ## 3.4.0 * Reworked request lines (`CRLF`) parsing: [#968](https://github.com/yesodweb/wai/pulls)
Network/Wai/Handler/Warp/FileInfoCache.hs view
@@ -66,8 +66,8 @@ ---------------------------------------------------------------- getAndRegisterInfo :: FileInfoCache -> FilePath -> IO FileInfo-getAndRegisterInfo reaper@Reaper{..} path = do- cache <- reaperRead+getAndRegisterInfo reaper path = do+ cache <- reaperRead reaper case M.lookup path cache of Just Negative -> UnliftIO.throwIO (userError "FileInfoCache:getAndRegisterInfo") Just (Positive x) -> return x@@ -76,14 +76,14 @@ `UnliftIO.onException` negative reaper path positive :: FileInfoCache -> FilePath -> IO FileInfo-positive Reaper{..} path = do+positive reaper path = do info <- getInfo path- reaperAdd (path, Positive info)+ reaperAdd reaper (path, Positive info) return info negative :: FileInfoCache -> FilePath -> IO FileInfo-negative Reaper{..} path = do- reaperAdd (path, Negative)+negative reaper path = do+ reaperAdd reaper (path, Negative) UnliftIO.throwIO (userError "FileInfoCache:negative") ----------------------------------------------------------------
warp.cabal view
@@ -1,5 +1,5 @@ Name: warp-Version: 3.4.0+Version: 3.4.1 Synopsis: A fast, light-weight web server for WAI applications. License: MIT License-file: LICENSE@@ -39,7 +39,7 @@ Library Build-Depends: base >= 4.12 && < 5 , array- , auto-update >= 0.1.3 && < 0.2+ , auto-update >= 0.2 && < 0.3 , bsb-http-chunked < 0.1 , bytestring >= 0.9.1.4 , case-insensitive >= 0.2@@ -48,14 +48,14 @@ , hashable , http-date , http-types >= 0.12- , http2 >= 5.1 && < 5.2+ , http2 >= 5.1 && < 5.3 , iproute >= 1.3.1 , recv >= 0.1.0 && < 0.2.0 , simple-sendfile >= 0.2.7 && < 0.3 , stm >= 2.3 , streaming-commons >= 0.1.10 , text- , time-manager+ , time-manager >= 0.1 && < 0.2 , vault >= 0.3 , wai >= 3.2.4 && < 3.3 , word8@@ -202,7 +202,7 @@ , http-client , http-date , http-types >= 0.12- , http2 >= 5.1 && < 5.2+ , http2 >= 5.1 && < 5.3 , iproute >= 1.3.1 , network , process