Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bos committed Mar 24, 2010
1 parent a9caaf1 commit 5676737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/StaticHttp.hs
Expand Up @@ -69,7 +69,7 @@ client sock = (`finally` sClose sock) loop
let http10 = requestVersion req == "1.0"
connection = lookupHeader "Connection" hdrs
keepAlive = (http10 && connection == ["Keep-Alive"]) ||
connection /= ["Close"]
(not http10 && connection /= ["Close"])
bracket (openFd (B.unpack (requestUri req)) ReadOnly Nothing
defaultFileFlags{nonBlock=True}) closeFd $ \fd -> do
st <- getFdStatus fd
Expand Down

0 comments on commit 5676737

Please sign in to comment.