Skip to content

Commit

Permalink
fix bench
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Aug 6, 2024
1 parent 38fbb04 commit 5a9ff6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions warp/Network/Wai/Handler/Warp/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module Network.Wai.Handler.Warp.Internal (

-- * Request and response
Source,
FirstRequest (..),
recvRequest,
sendResponse,

Expand Down
4 changes: 2 additions & 2 deletions warp/bench/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import qualified Network.HTTP.Types as H
import UnliftIO.Exception (impureThrow, throwIO)
import Prelude hiding (lines)

import Network.Wai.Handler.Warp.Request (headerLines)
import Network.Wai.Handler.Warp.Request (FirstRequest (..), headerLines)
import Network.Wai.Handler.Warp.Types

#if MIN_VERSION_gauge(0, 2, 0)
Expand Down Expand Up @@ -61,7 +61,7 @@ main = do
]
]
where
testIt req = producer req >>= headerLines 800 False
testIt req = producer req >>= headerLines 800 FirstRequest

----------------------------------------------------------------

Expand Down

0 comments on commit 5a9ff6d

Please sign in to comment.