Skip to content

Commit

Permalink
req.resume(); for http streams2 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Mar 16, 2013
1 parent 7370587 commit 04dc713
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/director/http/index.js
Expand Up @@ -187,6 +187,9 @@ Router.prototype.dispatch = function (req, res, callback) {
// the end event and then continue
//
req.once('end', parseAndInvoke);
// Streams2 requires us to start the stream if we're not explicitly
// reading from it.
req.resume();
}
else {
//
Expand Down

0 comments on commit 04dc713

Please sign in to comment.