1 module Network.HTTP.Lucu.Config
3 , defaultConfig -- Config
10 cnfServerPort :: PortID
11 , cnfMaxPipelineDepth :: Int
12 , cnfMaxEntityLength :: Integer
13 , cnfMaxURILength :: Int
16 defaultConfig = Config {
17 cnfServerPort = Service "http"
18 , cnfMaxPipelineDepth = 100
19 , cnfMaxEntityLength = 16 * 1024 * 1024 -- 16 MiB
20 , cnfMaxURILength = 4 * 1024 -- 4 KiB