@@ -23,6 +23,10 @@ import Network.Wai.Handler.Warp.ReadInt
23import Network.Wai.Handler.Warp.Types
23import Network.Wai.Handler.Warp.Types
24import Prelude hiding (lines)
24import Prelude hiding (lines)
26+-- FIXME come up with good values here
27+maxTotalHeaderLength :: Int
28+maxTotalHeaderLength = 50 * 1024
26parseRequest :: Connection -> Port -> SockAddr
30parseRequest :: Connection -> Port -> SockAddr
27 -> Source (ResourceT IO) S.ByteString
31 -> Source (ResourceT IO) S.ByteString
28 -> ResourceT IO (Request, IO (ResumableSource (ResourceT IO) ByteString))
32 -> ResourceT IO (Request, IO (ResumableSource (ResourceT IO) ByteString))