Permalink
Browse files

Version bumps

  • Loading branch information...
1 parent c41b30a commit 53b2dc77f0c7e84e1dbc8190c09e17241d537d69 @snoyberg snoyberg committed Nov 23, 2012
Showing with 9 additions and 3 deletions.
  1. +2 −2 warp-tls/warp-tls.cabal
  2. +6 −0 warp/Network/Wai/Handler/Warp/Run.hs
  3. +1 −1 warp/warp.cabal
View
@@ -1,5 +1,5 @@
Name: warp-tls
-Version: 1.3.3
+Version: 1.3.4
Synopsis: SSL support for Warp via the TLS package
License: MIT
License-file: LICENSE
@@ -16,7 +16,7 @@ Library
Build-Depends: base >= 4 && < 5
, bytestring >= 0.9
, wai >= 1.3 && < 1.4
- , warp >= 1.3.2 && < 1.4
+ , warp >= 1.3.5 && < 1.4
, transformers >= 0.2 && < 0.4
, conduit >= 0.5 && < 0.6
, network-conduit >= 0.6 && < 0.7
@@ -135,6 +135,12 @@ runSettingsConnection set getConn app = runSettingsConnectionMaker set getConnMa
(conn, sa) <- getConn
return (return conn, sa)
+-- | Allows you to provide a function which will return a @Connection@. In
+-- cases where creating the @Connection@ can be expensive, this allows the
+-- expensive computations to be performed in a separate thread instead of the
+-- main server loop.
+--
+-- Since 1.3.5
runSettingsConnectionMaker :: Settings -> IO (IO Connection, SockAddr) -> Application -> IO ()
runSettingsConnectionMaker set getConn app = do
tm <- maybe (T.initialize $ settingsTimeout set * 1000000) return
View
@@ -1,5 +1,5 @@
Name: warp
-Version: 1.3.4.4
+Version: 1.3.5
Synopsis: A fast, light-weight web server for WAI applications.
License: MIT
License-file: LICENSE

0 comments on commit 53b2dc7

Please sign in to comment.