diff options
-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 |