on master help sign in
Version bumps
commit53b2dc77f0c7e84e1dbc8190c09e17241d537d69 authorMichael Snoyman <michael@snoyman.com> dateFri 23 Nov 2012, 09:50 (14 years ago) parentc41b30a
3 files changed+9−3
warp-tls/warp-tls.cabal+2−2 warp/Network/Wai/Handler/Warp/Run.hs+6 warp/warp.cabal+1−1
warp-tls/warp-tls.cabal+2−2
@@ -1,5 +1,5 @@
11Name: warp-tls
2−Version: 1.3.3
2+Version: 1.3.4
33Synopsis: SSL support for Warp via the TLS package
44License: MIT
55License-file: LICENSE
@@ -16,7 +16,7 @@ Library
1616 Build-Depends: base >= 4 && < 5
1717 , bytestring >= 0.9
1818 , wai >= 1.3 && < 1.4
19− , warp >= 1.3.2 && < 1.4
19+ , warp >= 1.3.5 && < 1.4
2020 , transformers >= 0.2 && < 0.4
2121 , conduit >= 0.5 && < 0.6
2222 , network-conduit >= 0.6 && < 0.7
warp/Network/Wai/Handler/Warp/Run.hs+6
@@ -135,6 +135,12 @@ runSettingsConnection set getConn app = runSettingsConnectionMaker set getConnMa
135135 (conn, sa) <- getConn
136136 return (return conn, sa)
137137
138+-- | Allows you to provide a function which will return a @Connection@. In
139+-- cases where creating the @Connection@ can be expensive, this allows the
140+-- expensive computations to be performed in a separate thread instead of the
141+-- main server loop.
142+--
143+-- Since 1.3.5
138144runSettingsConnectionMaker :: Settings -> IO (IO Connection, SockAddr) -> Application -> IO ()
139145runSettingsConnectionMaker set getConn app = do
140146 tm <- maybe (T.initialize $ settingsTimeout set * 1000000) return
warp/warp.cabal+1−1
@@ -1,5 +1,5 @@
11Name: warp
2−Version: 1.3.4.4
2+Version: 1.3.5
33Synopsis: A fast, light-weight web server for WAI applications.
44License: MIT
55License-file: LICENSE