summaryrefslogtreecommitdiff
path: root/src/example-based/exb-fcgi.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/example-based/exb-fcgi.hs')
-rw-r--r--src/example-based/exb-fcgi.hs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/example-based/exb-fcgi.hs b/src/example-based/exb-fcgi.hs
deleted file mode 100644
index 54f1872d0..000000000
--- a/src/example-based/exb-fcgi.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-import Control.Concurrent(forkIO)
-import Network.FastCGI(runFastCGI,runFastCGIConcurrent')
-import ExampleService(cgiMain,newPGFCache)
-
-main = do --stderrToFile logFile
- fcgiMain =<< newPGFCache
-
-
-fcgiMain cache =
-#ifndef mingw32_HOST_OS
- runFastCGIConcurrent' forkIO 100 (cgiMain cache)
-#else
- runFastCGI (cgiMain cache)
-#endif