packages feed

happstack-server 7.7.0 → 7.7.1

raw patch · 2 files changed

+2/−2 lines, 2 filesdep ~xhtmlPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: xhtml

API changes (from Hackage documentation)

- Happstack.Server.RqData: instance (Control.Monad.Trans.Error.Error e, GHC.Base.Monoid e) => GHC.Base.MonadPlus (Happstack.Server.RqData.ReaderError r e)
+ Happstack.Server.RqData: instance (GHC.Base.Monoid e, Control.Monad.Trans.Error.Error e) => GHC.Base.MonadPlus (Happstack.Server.RqData.ReaderError r e)

Files

happstack-server.cabal view
@@ -1,5 +1,5 @@ Name:                happstack-server-Version:             7.7.0+Version:             7.7.1 Synopsis:            Web related tools and services. Description:         Happstack Server provides an HTTP server and a rich set of functions for routing requests, handling query parameters, generating responses, working with cookies, serving files, and more. For in-depth documentation see the Happstack Crash Course <http://happstack.com/docs/crashcourse/index.html> License:             BSD3
src/Happstack/Server/Internal/Listen.hs view
@@ -63,7 +63,7 @@  inet_addr :: String -> IO Socket.HostAddress inet_addr ip = do-  addrInfos <- Socket.getAddrInfo (Just Socket.defaultHints) (Just ip) (Just "tcp")+  addrInfos <- Socket.getAddrInfo (Just Socket.defaultHints) (Just ip) Nothing   let getHostAddress addrInfo = case Socket.addrAddress addrInfo of         Socket.SockAddrInet _ hostAddress -> Just hostAddress         _ -> Nothing