diff options
author | Joey Hess <joey@kitenet.net> | 2014-05-29 13:49:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-05-29 13:49:45 -0400 |
commit | a030468cadb81b99a60968b8619848e55b46721c (patch) | |
tree | 0d2b6c0b45eed35fdbbe2633ec3a076878920ffd /Utility | |
parent | 6ebe55137a7e387371e7e5e973233944c9a8dbb4 (diff) |
fix warning message
This should work even back in debian stable's warp
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/WebApp.hs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Utility/WebApp.hs b/Utility/WebApp.hs index 6315e743b..1db7fcf25 100644 --- a/Utility/WebApp.hs +++ b/Utility/WebApp.hs @@ -95,11 +95,9 @@ fixSockAddr (SockAddrInet (PortNum port) addr) = SockAddrInet (PortNum $ swapEnd #endif fixSockAddr addr = addr +-- disable buggy sloworis attack prevention code webAppSettings :: Settings -webAppSettings = defaultSettings - -- disable buggy sloworis attack prevention code - { settingsTimeout = 30 * 60 - } +webAppSettings = setTimeout (30 * 60) defaultSettings {- Binds to a local socket, or if specified, to a socket on the specified - hostname or address. Selects any free port, unless the hostname ends with |