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
|
@ -1,3 +1,9 @@
|
|||
{-# LANGUAGE CPP #-}
|
||||
#ifndef HTTPS_SUPPORT
|
||||
module Backend.Https
|
||||
where
|
||||
|
||||
#else
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
|
||||
module Backend.Https (forkHttpsBackend, httpsDefaultSettings) where
|
||||
|
@ -74,3 +80,4 @@ httpsToWarpConfig = httpToWarpConfig . fst
|
|||
|
||||
backend :: Wai.Application -> HttpsConfiguration -> IO ()
|
||||
backend app conf = HTTPS.runTLS (httpsToWarpTLSConfig conf) (httpsToWarpConfig conf) app
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue