packages feed

http-server 1.0.1 → 1.0.2

raw patch · 2 files changed

+10/−1 lines, 2 filesnew-uploaderPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Network/HTTP/Server.hs view
@@ -21,12 +21,18 @@ import Network.HTTP.Server.Logger import Network.HTTP.Server.Response +#ifndef NO_PRELUDE_CATCH import Prelude hiding (catch)+#endif+ #ifdef _OS_UNIX import qualified System.Posix.Signals as P                         (installHandler,sigPIPE,Handler(Ignore)) #endif import Network.Socket+    (Socket,socket,withSocketsDo,SocketType(..),SocketOption(..)+    ,setSocketOption,SockAddr(..),listen,bindSocket,sClose,accept+    ,sOMAXCONN) import Network.BSD import Network.HTTP import Network.HTTP.Headers   -- for re-export above
http-server.cabal view
@@ -1,5 +1,5 @@ name:          http-server-version:       1.0.1+version:       1.0.2 category:      Network synopsis:      A library for writing Haskell web servers. description:   A library for writing Haskell web servers.@@ -41,6 +41,9 @@   if !os(windows)     build-depends: unix >= 2 && < 3     CPP-options:   -D_OS_UNIX++  if impl(ghc >= 7.6.1)+    CPP-options:   -DNO_PRELUDE_CATCH    ghc-options: -Wall -O2