configuration parser for the http backend added
This commit is contained in:
parent
04d9f063d4
commit
df0b72235f
5 changed files with 79 additions and 0 deletions
|
@ -10,6 +10,7 @@ module Main where
|
|||
|
||||
import Control.Concurrent.MVar
|
||||
import WaiApp
|
||||
import Control.Concurrent
|
||||
|
||||
#ifdef HTTP_SUPPORT
|
||||
import qualified Network.Wai.Handler.Warp as HTTP
|
||||
|
@ -28,6 +29,8 @@ import qualified Network.Wai.Handler.FastCGI as FastCGI
|
|||
import qualified Network.Wai.Handler.CGI as CGI
|
||||
#endif
|
||||
|
||||
-- we should add support for multiple backends (so we should fork them and
|
||||
-- then wait till all of them terminated)
|
||||
main :: IO ()
|
||||
main = do
|
||||
serverState <- newMVar newServerState
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue