shredded FastCGI and CGI support, as they are incompatible with WebSocket 😢
This commit is contained in:
parent
49f3b092be
commit
cf946f960c
9 changed files with 20 additions and 113 deletions
17
app/Main.hs
17
app/Main.hs
|
@ -15,23 +15,6 @@ import Control.Concurrent
|
|||
import Backend.Backend
|
||||
import Options.Applicative
|
||||
|
||||
#ifdef HTTP_SUPPORT
|
||||
import qualified Network.Wai.Handler.Warp as HTTP
|
||||
#endif
|
||||
|
||||
#ifdef HTTPS_SUPPORT
|
||||
import qualified Network.Wai.Handler.WarpTLS as HTTPS
|
||||
import qualified Network.Wai.Handler.Warp as HTTP
|
||||
#endif
|
||||
|
||||
#ifdef FASTCGI_SUPPORT
|
||||
import qualified Network.Wai.Handler.FastCGI as FastCGI
|
||||
#endif
|
||||
|
||||
#ifdef CGI_SUPPORT
|
||||
import qualified Network.Wai.Handler.CGI as CGI
|
||||
#endif
|
||||
|
||||
-- maybe we should use Control.Concurrent.ParallelIO but right
|
||||
-- now we just rely that the backends fork and don't block
|
||||
main :: IO ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue