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