fix warning message
This should work even back in debian stable's warp
This commit is contained in:
parent
68a56a691f
commit
450eecaa76
1 changed files with 2 additions and 4 deletions
|
@ -95,11 +95,9 @@ fixSockAddr (SockAddrInet (PortNum port) addr) = SockAddrInet (PortNum $ swapEnd
|
||||||
#endif
|
#endif
|
||||||
fixSockAddr addr = addr
|
fixSockAddr addr = addr
|
||||||
|
|
||||||
|
-- disable buggy sloworis attack prevention code
|
||||||
webAppSettings :: Settings
|
webAppSettings :: Settings
|
||||||
webAppSettings = defaultSettings
|
webAppSettings = setTimeout (30 * 60) defaultSettings
|
||||||
-- disable buggy sloworis attack prevention code
|
|
||||||
{ settingsTimeout = 30 * 60
|
|
||||||
}
|
|
||||||
|
|
||||||
{- Binds to a local socket, or if specified, to a socket on the specified
|
{- 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
|
- hostname or address. Selects any free port, unless the hostname ends with
|
||||||
|
|
Loading…
Reference in a new issue