Fix HTTP server effect parse errors.

This commit is contained in:
Benjamin Summers 2019-12-19 11:30:09 -08:00
parent 544fa42f65
commit 03131c1400
3 changed files with 5 additions and 5 deletions

View File

@ -171,7 +171,7 @@ runOrExitImmediately getPier oExit =
shutdownImmediately (serf, log, ss) = do
logTrace "Sending shutdown signal"
logTrace $ displayShow ss
io $ threadDelay 500000
io $ threadDelay 500000 -- Why is this here? Do I need to force a snapshot to happen?
ss <- shutdown serf 0
logTrace $ displayShow ss
logTrace "Shutdown!"

View File

@ -172,9 +172,9 @@ data HttpClientEv
deriving (Eq, Ord, Show)
data HttpServerEv
= HttpServerEvRequest (ServId, Atom, UD, ()) HttpServerReq
| HttpServerEvCancelRequest (ServId, Atom, UD, ()) ()
| HttpServerEvRequestLocal (ServId, Atom, UD, ()) HttpServerReq
= HttpServerEvRequest (ServId, UD, UD, ()) HttpServerReq
| HttpServerEvCancelRequest (ServId, UD, UD, ()) ()
| HttpServerEvRequestLocal (ServId, UD, UD, ()) HttpServerReq
| HttpServerEvLive (ServId, ()) Port (Maybe Port)
| HttpServerEvBorn (KingId, ()) ()
| HttpServerEvCrud Path Cord Tang

View File

@ -48,7 +48,7 @@ import qualified Network.Wai.Handler.WarpTLS as W
-- Internal Types --------------------------------------------------------------
type ReqId = Atom
type ReqId = UD
type SeqId = UD -- Unused, always 1
{-