warp 3.0.5 → 3.0.5.1
raw patch · 3 files changed
+4/−4 lines, 3 files
Files
- Network/Wai/Handler/Warp.hs +1/−1
- Network/Wai/Handler/Warp/Run.hs +2/−2
- warp.cabal +1/−1
Network/Wai/Handler/Warp.hs view
@@ -122,7 +122,7 @@ -- | What to do with exceptions thrown by either the application or server. -- Default: ignore server-generated exceptions (see 'InvalidRequest') and print--- application-generated applications to stderr.+-- application-generated exceptions to stderr. -- -- Since 2.1.0 setOnException :: (Maybe Request -> SomeException -> IO ()) -> Settings -> Settings
Network/Wai/Handler/Warp/Run.hs view
@@ -89,7 +89,7 @@ -- 'serverPort' record. -- -- When the listen socket in the second argument is closed, all live--- connections are gracefully shut-downed.+-- connections are gracefully shut down. runSettingsSocket :: Settings -> Socket -> Application -> IO () runSettingsSocket set socket app = do settingsInstallShutdownHandler set closeListenSocket@@ -259,7 +259,7 @@ bracket (onOpen addr) (onClose addr) $ \goingon -> -- Actually serve this connection.- -- onnClose above ensures the termination of the connection.+ -- bracket with closeConn above ensures the connection is closed. when goingon $ serveConnection conn ii addr isSecure' set app where closeConn (conn, _isSecure) = connClose conn
warp.cabal view
@@ -1,5 +1,5 @@ Name: warp-Version: 3.0.5+Version: 3.0.5.1 Synopsis: A fast, light-weight web server for WAI applications. License: MIT License-file: LICENSE