fix warning message

This should work even back in debian stable's warp
This commit is contained in:
Joey Hess 2014-05-29 13:49:45 -04:00
parent 68a56a691f
commit 450eecaa76

View file

@ -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