warp 3.0.13 → 3.0.13.1
raw patch · 4 files changed
+8/−6 lines, 4 filesdep −void
Dependencies removed: void
Files
- ChangeLog.md +4/−0
- Network/Wai/Handler/Warp/Run.hs +2/−2
- Network/Wai/Handler/Warp/Settings.hs +1/−1
- warp.cabal +1/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+## 3.0.13.1++* Remove dependency on the void package [#375](https://github.com/yesodweb/wai/pull/375)+ ## 3.0.13 * Turn off file descriptor cache by default [#371](https://github.com/yesodweb/wai/issues/371)
Network/Wai/Handler/Warp/Run.hs view
@@ -390,8 +390,8 @@ -- We just send a Response and it takes a time to -- receive a Request again. If we immediately call recv, -- it is likely to fail and the IO manager works.- -- It is very costy. So, we yield to another Haskell- -- thread hoping that the next Request will arraive+ -- It is very costly. So, we yield to another Haskell+ -- thread hoping that the next Request will arrive -- when this Haskell thread will be re-scheduled. -- This improves performance at least when -- the number of cores is small.
Network/Wai/Handler/Warp/Settings.hs view
@@ -45,7 +45,7 @@ , settingsOnClose :: SockAddr -> IO () -- ^ What to do when a connection is close. Default: do nothing. , settingsTimeout :: Int -- ^ Timeout value in seconds. Default value: 30 , settingsManager :: Maybe Manager -- ^ Use an existing timeout manager instead of spawning a new one. If used, 'settingsTimeout' is ignored. Default is 'Nothing'- , settingsFdCacheDuration :: Int -- ^ Cache duratoin time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 0+ , settingsFdCacheDuration :: Int -- ^ Cache duration time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 0 , settingsBeforeMainLoop :: IO () -- ^ Code to run after the listening socket is ready but before entering -- the main event loop. Useful for signaling to tests that they can start
warp.cabal view
@@ -1,5 +1,5 @@ Name: warp-Version: 3.0.13+Version: 3.0.13.1 Synopsis: A fast, light-weight web server for WAI applications. License: MIT License-file: LICENSE@@ -42,7 +42,6 @@ , iproute >= 1.3.1 , simple-sendfile >= 0.2.7 && < 0.3 , unix-compat >= 0.2- , void , wai >= 3.0 && < 3.1 , text , streaming-commons >= 0.1.10@@ -133,7 +132,6 @@ , simple-sendfile >= 0.2.4 && < 0.3 , transformers >= 0.2.2 , unix-compat >= 0.2- , void , wai , network , HUnit