Skip to content


req.resume(); for http streams2 compat #186

merged 1 commit into from

2 participants


I couldn't get vows to run, I guess another 0.10 problem? So I didn't even bother looking for a relevant test, let alone write a new one for it.

@yawnt yawnt merged commit 6d55355 into flatiron:master

1 check passed

Details default The Travis build passed



@yawnt could we get a release out of this perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 16, 2013
  1. @rvagg
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/director/http/index.js
3 lib/director/http/index.js
@@ -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 {
Something went wrong with that request. Please try again.