-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Regression in Upgrade header handling #217
Comments
"Uncommon" here means "invalid" since both On a semi-related note, |
@mscdex all of your comment is correct, except that I have introduced an unintentional behavior change. This means that there could be some bug that I have overlooked. |
Nah, I see now where this behavior was introduced 091ebb8 . @bnoordhuis on a second thought I think that @mscdex is right about it as the change was quite intentional. @bnoordhuis Why do we want to support this? |
In strict mode this should not be treated as upgrade, in normal mode we should be gentle and allow it. Fix: nodejs#217
Not a regression. |
See nodejs/node#627 and nodejs/node#628 for background.
In a nutshell, 2.4.1 doesn't like uncommon Upgrade header formats. The regression test in nodejs/node#628 is a good example.
/cc @indutny
The text was updated successfully, but these errors were encountered: