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
|
||||||
|
|
||||||
webAppSettings :: Settings
|
|
||||||
webAppSettings = defaultSettings
|
|
||||||
-- disable buggy sloworis attack prevention code
|
-- disable buggy sloworis attack prevention code
|
||||||
{ settingsTimeout = 30 * 60
|
webAppSettings :: Settings
|
||||||
}
|
webAppSettings = setTimeout (30 * 60) defaultSettings
|
||||||
|
|
||||||
{- 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