From 6635cd5007759a0a8bfb53f6808f3d1f18b87bc1 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 10 May 2015 23:41:55 -0400 Subject: [PATCH] Fix possible stalled request with Content-Encoding on error --- lib/read.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/read.js b/lib/read.js index 64232037..13d09f32 100644 --- a/lib/read.js +++ b/lib/read.js @@ -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) })