]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Config.hs
Many improvements: still in early development
[Lucu.git] / Network / HTTP / Lucu / Config.hs
index 919e1344a8950ad4f445a07cf3bc041f1d3c7fc6..2d37022d54072c6ec374d9aee909dfb765538f9c 100644 (file)
@@ -7,13 +7,15 @@ module Network.HTTP.Lucu.Config
 import Network
 
 data Config = Config {
-      cnfServerPort      :: PortID
-    , cnfMaxEntityLength :: Integer
-    , cnfMaxURILength    :: Int
+      cnfServerPort       :: PortID
+    , cnfMaxPipelineDepth :: Int
+    , cnfMaxEntityLength  :: Integer
+    , cnfMaxURILength     :: Int
     }
 
 defaultConfig = Config {
-                  cnfServerPort      = Service "http"
-                , cnfMaxEntityLength = 16 * 1024 * 1024 -- 16 MiB
-                , cnfMaxURILength    = 4 * 1024         -- 4 KiB
+                  cnfServerPort       = Service "http"
+                , cnfMaxPipelineDepth = 100
+                , cnfMaxEntityLength  = 16 * 1024 * 1024 -- 16 MiB
+                , cnfMaxURILength     = 4 * 1024         -- 4 KiB
                 }
\ No newline at end of file