-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http: regression in Upgrade header handling #627
Labels
Comments
bnoordhuis
added
confirmed-bug
Issues with confirmed bugs.
http
Issues or PRs related to the http subsystem.
labels
Jan 27, 2015
git-bisect has spoken:
I blame the reviewer. |
bnoordhuis
added a commit
to bnoordhuis/io.js
that referenced
this issue
Jan 28, 2015
Commit 598efcb ("deps: update http_parser to 2.4.1") introduced a regression in HTTP Upgrade header handling. Fixes: nodejs#627 PR-URL: nodejs#628 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
bnoordhuis
added a commit
to bnoordhuis/io.js
that referenced
this issue
Jan 28, 2015
Add a regression test for nodejs#627. Before the http_parser rollback to 2.3.0, the request callback was called but an 'upgrade' event was not emitted, even though there is an Upgrade header present in the request. PR-URL: nodejs#628 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Fixed in 6605096. |
I think that the test case needs some justification. Why should this behavior be supported, who does experience the problems with it, and why shouldn't that code be fixed instead? cc @bnoordhuis |
(See nodejs/http-parser#237 for compromise solution, but let's discuss it first) |
@indutny this is in master from http-parser@2.5.0 right? |
Oh right! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Works with joyent/node@v0.11.16 but fails with iojs@5843ae8. The request callback is called and the 'upgrade' event doesn't fire. I'll bisect.
The text was updated successfully, but these errors were encountered: