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
|
@ -23,16 +23,6 @@ source-repository head
|
|||
type: git
|
||||
location: https://github.com/githubuser/tickLeisteServer
|
||||
|
||||
flag cgi
|
||||
description: Build with cgi support
|
||||
manual: True
|
||||
default: True
|
||||
|
||||
flag fast-cgi
|
||||
description: Build with fastcgi support -- this depends on the fcgi c library
|
||||
manual: True
|
||||
default: True
|
||||
|
||||
flag http
|
||||
description: Build with http support
|
||||
manual: True
|
||||
|
@ -47,8 +37,6 @@ executable tickLeisteServer
|
|||
main-is: Main.hs
|
||||
other-modules:
|
||||
Backend.Backend
|
||||
Backend.CGI
|
||||
Backend.FastCGI
|
||||
Backend.Http
|
||||
Backend.Https
|
||||
Config
|
||||
|
@ -57,9 +45,7 @@ executable tickLeisteServer
|
|||
Paths_tickLeisteServer
|
||||
hs-source-dirs:
|
||||
app
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -cpp -pgmP cpphs -optP --cpp
|
||||
build-tools:
|
||||
cpphs
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||
build-depends:
|
||||
aeson
|
||||
, base >=4.7 && <5
|
||||
|
@ -83,20 +69,10 @@ executable tickLeisteServer
|
|||
build-depends:
|
||||
warp
|
||||
, warp-tls
|
||||
if flag(fast-cgi)
|
||||
build-depends:
|
||||
wai-handler-fastcgi
|
||||
if flag(cgi)
|
||||
build-depends:
|
||||
wai-extra
|
||||
if flag(http)
|
||||
cpp-options: -DHTTP_SUPPORT
|
||||
if flag(https)
|
||||
cpp-options: -DHTTPS_SUPPORT
|
||||
if flag(fast-cgi)
|
||||
cpp-options: -DFASTCGI_SUPPORT
|
||||
if flag(cgi)
|
||||
cpp-options: -DCGI_SUPPORT
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite tickLeisteServer-test
|
||||
|
@ -107,8 +83,6 @@ test-suite tickLeisteServer-test
|
|||
hs-source-dirs:
|
||||
test
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||
build-tools:
|
||||
cpphs
|
||||
build-depends:
|
||||
aeson
|
||||
, base >=4.7 && <5
|
||||
|
@ -133,10 +107,4 @@ test-suite tickLeisteServer-test
|
|||
build-depends:
|
||||
warp
|
||||
, warp-tls
|
||||
if flag(fast-cgi)
|
||||
build-depends:
|
||||
wai-handler-fastcgi
|
||||
if flag(cgi)
|
||||
build-depends:
|
||||
wai-extra
|
||||
default-language: Haskell2010
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue