Skip to content

Commit

Permalink
Fix possible stalled request with Content-Encoding on error
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed May 11, 2015
1 parent 5addd8e commit 6635cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function read(req, res, next, parse, debug, options) {
}

// read off entire request
stream.resume()
req.resume()
onFinished(req, function onfinished() {
next(err)
})
Expand Down

0 comments on commit 6635cd5

Please sign in to comment.