keter 1.3.10 → 1.3.10.1
raw patch · 3 files changed
+8/−5 lines, 3 files
Files
- Keter/Types/V04.hs +5/−2
- Keter/Types/V10.hs +2/−2
- keter.cabal +1/−1
Keter/Types/V04.hs view
@@ -93,9 +93,12 @@ , kconfigSetuid = Nothing , kconfigReverseProxy = Set.empty , kconfigIpFromHeader = False- , kconfigConnectionTimeBound = 5000+ , kconfigConnectionTimeBound = fiveMinutes } +fiveMinutes :: Int+fiveMinutes = 5 * 60 * 1000+ instance ParseYamlFile KeterConfig where parseYamlFile basedir = withObject "KeterConfig" $ \o -> KeterConfig <$> lookupBase basedir o "root"@@ -106,7 +109,7 @@ <*> o .:? "setuid" <*> o .:? "reverse-proxy" .!= Set.empty <*> o .:? "ip-from-header" .!= False- <*> o .:? "connection-time-bound" .!= 5000+ <*> o .:? "connection-time-bound" .!= fiveMinutes data TLSConfig = TLSConfig !Warp.Settings !WarpTLS.TLSSettings
Keter/Types/V10.hs view
@@ -139,7 +139,7 @@ , kconfigExternalHttpPort = 80 , kconfigExternalHttpsPort = 443 , kconfigEnvironment = Map.empty- , kconfigConnectionTimeBound = 5000+ , kconfigConnectionTimeBound = V04.fiveMinutes } instance ParseYamlFile KeterConfig where@@ -159,7 +159,7 @@ <*> o .:? "external-http-port" .!= 80 <*> o .:? "external-https-port" .!= 443 <*> o .:? "env" .!= Map.empty- <*> o .:? "connection-time-bound" .!= 5000+ <*> o .:? "connection-time-bound" .!= V04.fiveMinutes -- | Whether we should force redirect to HTTPS routes. type RequiresSecure = Bool
keter.cabal view
@@ -1,5 +1,5 @@ Name: keter-Version: 1.3.10+Version: 1.3.10.1 Synopsis: Web application deployment manager, focusing on Haskell web frameworks Description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/keter>. Homepage: http://www.yesodweb.com/