packages feed

happstack-server-tls 7.0.0 → 7.0.1

raw patch · 2 files changed

+10/−10 lines, 2 filesdep ~bytestringdep ~happstack-serverdep ~hsloggerPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: bytestring, happstack-server, hslogger, network

API changes (from Hackage documentation)

Files

happstack-server-tls.cabal view
@@ -1,5 +1,5 @@ Name:                happstack-server-tls-Version:             7.0.0+Version:             7.0.1 Synopsis:            extend happstack-server with https:// support (TLS/SSL) Description:         extend happstack-server with https:// support (TLS/SSL) Homepage:            http://www.happstack.com/@@ -8,7 +8,7 @@ Author:              Jeremy Shaw Maintainer:          jeremy@n-heptane.com Copyright:           2012 Jeremy Shaw-Category:            Web+Category:            Web, Happstack Build-type:          Simple Cabal-version:       >=1.6 @@ -20,12 +20,12 @@                        Happstack.Server.SimpleHTTPS      Build-Depends:     base                  <  5,-                       bytestring            == 0.9.*,+                       bytestring            >= 0.9 && < 0.11,                        extensible-exceptions == 0.1.*,-                       happstack-server      >= 6.6.4 && < 7.1,-                       hslogger              == 1.1.*,+                       happstack-server      >= 6.6.4 && < 7.2,+                       hslogger              >=  1.1 && < 1.3,                        HsOpenSSL             == 0.10.*,-                       network               == 2.3.*,+                       network               >= 2.3 && < 2.5,                        sendfile              == 0.7.*,                        time                  >= 1.2 && < 1.5     Extra-Libraries:   ssl
src/Happstack/Server/SimpleHTTPS.hs view
@@ -1,4 +1,4 @@-module Happstack.Server.SimpleHTTPS +module Happstack.Server.SimpleHTTPS      ( TLSConf(..)      , nullTLSConf      , simpleHTTPS@@ -21,10 +21,10 @@ simpleHTTPS = simpleHTTPS' id  -- | similar 'simpleHTTPS' but allows you to supply a function to convert 'm' to 'IO'.-simpleHTTPS' :: (ToMessage b, Monad m, Functor m) => +simpleHTTPS' :: (ToMessage b, Monad m, Functor m) =>                 (UnWebT m a -> UnWebT IO b)-            -> TLSConf -            -> ServerPartT m a +            -> TLSConf+            -> ServerPartT m a             -> IO () simpleHTTPS' toIO tlsConf hs =     listenTLS tlsConf (\req -> runValidator (fromMaybe return (tlsValidator tlsConf)) =<< (simpleHTTP'' (mapServerPartT toIO hs) req))