on master help sign in
Version bumps
commit4a896f255eba88fbdf0928e1f127fe56cfe2260f authorMichael Snoyman <michael@snoyman.com> dateMon 18 Feb 2013, 05:56 (14 years ago) parent1e94567
13 files changed+15−19
wai-app-static/wai-app-static.cabal+1−1 wai-eventsource/wai-eventsource.cabal+1−1 wai-extra/wai-extra.cabal+1−1 wai-frontend-monadcgi/wai-frontend-monadcgi.cabal+1−1 wai-handler-fastcgi/wai-handler-fastcgi.cabal+1−1 wai-handler-launch/wai-handler-launch.cabal+1−1 wai-handler-scgi/wai-handler-scgi.cabal+1−1 wai-test/wai-test.cabal+1−1 wai-websockets/wai-websockets.cabal+1−1 wai/wai.cabal+1−1 warp-tls/pong.hs+3−7 warp-tls/warp-tls.cabal+1−1 warp/warp.cabal+1−1
wai-app-static/wai-app-static.cabal+1−1
@@ -1,5 +1,5 @@
11name: wai-app-static
2−version: 1.3.1
2+version: 1.3.1.1
33license: MIT
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>
wai-eventsource/wai-eventsource.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-eventsource
2−Version: 1.3.0.2
2+Version: 1.3.0.3
33Synopsis: WAI support for server-sent events
44Description: WAI support for server-sent events
55License: MIT
wai-extra/wai-extra.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-extra
2−Version: 1.3.2.1
2+Version: 1.3.2.2
33Synopsis: Provides some basic WAI handlers and middleware.
44Description: The goal here is to provide common features without many dependencies.
55License: MIT
wai-frontend-monadcgi/wai-frontend-monadcgi.cabal+1−1
@@ -1,5 +1,5 @@
11name: wai-frontend-monadcgi
2−version: 1.3.0
2+version: 1.3.0.1
33license: MIT
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>
wai-handler-fastcgi/wai-handler-fastcgi.cabal+1−1
@@ -1,5 +1,5 @@
11name: wai-handler-fastcgi
2−version: 1.3.0
2+version: 1.3.0.1
33license: MIT
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>
wai-handler-launch/wai-handler-launch.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-handler-launch
2−Version: 1.3.1.2
2+Version: 1.3.1.3
33Synopsis: Launch a web app in the default browser.
44Description: This handles cross-platform launching and inserts Javascript code to ping the server. When the server no longer receives pings, it shuts down.
55License: MIT
wai-handler-scgi/wai-handler-scgi.cabal+1−1
@@ -1,5 +1,5 @@
11name: wai-handler-scgi
2−version: 1.3.0
2+version: 1.3.0.1
33license: MIT
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>
wai-test/wai-test.cabal+1−1
@@ -1,5 +1,5 @@
11name: wai-test
2−version: 1.3.0.1
2+version: 1.3.0.2
33license: MIT
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>
wai-websockets/wai-websockets.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-websockets
2−Version: 1.3.1
2+Version: 1.3.1.1
33Synopsis: Provide a bridge betweeen WAI and the websockets package.
44License: MIT
55License-file: LICENSE
wai/wai.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai
2−Version: 1.3.0.2
2+Version: 1.3.0.3
33Synopsis: Web Application Interface.
44Description: Provides a common protocol for communication between web applications and web servers.
55License: MIT
warp-tls/pong.hs+3−7
@@ -1,6 +1,6 @@
11{-# LANGUAGE OverloadedStrings #-}
22import Network.Wai
3−import Network.Wai.Handler.Warp (defaultSettings)
3+import Network.Wai.Handler.Warp (defaultSettings, settingsPort)
44import Network.Wai.Handler.WarpTLS
55import Network.HTTP.Types (status200)
66import Blaze.ByteString.Builder (copyByteString)
@@ -11,13 +11,9 @@ import Network.HTTP.ReverseProxy
1111import Network.HTTP.Conduit
1212
1313main = do
14− putStrLn "https://localhost:3000/"
14+ putStrLn "https://localhost:3009/"
1515 manager <- newManager def
16− runTLS (TLSSettings "warp-tls/certificate.pem" "warp-tls/key.pem") defaultSettings $
17− waiProxyTo
18− (const $ return $ Right $ ProxyDest "localhost" 3001)
19− defaultOnExc
20− manager
16+ runTLS (TLSSettings "config/tls-cert" "config/tls-key") defaultSettings { settingsPort = 3009 } app
2117
2218app req = return $
2319 case rawPathInfo req of
warp-tls/warp-tls.cabal+1−1
@@ -1,5 +1,5 @@
11Name: warp-tls
2−Version: 1.3.5
2+Version: 1.3.5.1
33Synopsis: SSL support for Warp via the TLS package
44License: MIT
55License-file: LICENSE
warp/warp.cabal+1−1
@@ -1,5 +1,5 @@
11Name: warp
2−Version: 1.3.7.2
2+Version: 1.3.7.3
33Synopsis: A fast, light-weight web server for WAI applications.
44License: MIT
55License-file: LICENSE