benoitc/http-parser — pull request #52 by dhagrow (2014-11-04 03:54:39+00:00)
Title: Revert "HttpStream.method() only waits method, not status code"

This reverts commit 3dc54acc6900d166d09732757dffd7d5588d2b39.

Commit 3dc54acc6900d166d09732757dffd7d5588d2b39 attempts to optimize the parser by waiting only for the method before returning from HttpStream.method(). As implemented, however, this commit breaks parsing of very common requests, as laid out by brosner in the comments of that commit over a year ago.

This pull request simply reverts a commit that clearly breaks request parsing.