warp 3.3.24 → 3.3.25
raw patch · 3 files changed
+10/−1 lines, 3 filesdep ~unix
Dependency ranges changed: unix
Files
- ChangeLog.md +5/−0
- Network/Wai/Handler/Warp/FdCache.hs +4/−0
- warp.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,10 @@ # ChangeLog for warp +## 3.3.25++* Catching up the signature change of openFd in the unix package v2.8.+ [#926](https://github.com/yesodweb/wai/pull/926)+ ## 3.3.24 * Switching the version of the "recv" package from 0.0.x to 0.1.x.
Network/Wai/Handler/Warp/FdCache.hs view
@@ -67,7 +67,11 @@ openFile :: FilePath -> IO Fd openFile path = do+#if MIN_VERSION_unix(2,8,0)+ fd <- openFd path ReadOnly defaultFileFlags{nonBlock=False}+#else fd <- openFd path ReadOnly Nothing defaultFileFlags{nonBlock=False}+#endif setFileCloseOnExec fd return fd
warp.cabal view
@@ -1,5 +1,5 @@ Name: warp-Version: 3.3.24+Version: 3.3.25 Synopsis: A fast, light-weight web server for WAI applications. License: MIT License-file: LICENSE