-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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: http_parser_llhttp regression #28137
Comments
I believe the newer parser is more correct. From RFC 7230: status-line = HTTP-version SP status-code SP reason-phrase CRLF So you can have an empty |
@mscdex so I guess the tests need to be updated? |
|
An issue should be posted to https://github.com/nodejs/llhttp/issues then. |
This should fix it: https://github.com/nodejs/llhttp/pull/26/files . Sorry if it caused a disruption! |
The fix has been landed and released. Here is a PR to update llhttp: #28154 |
Based on
test-http-response-status-message.js
.This will succeed with
--http-parser legacy
but fail otherwise.Related #27984 (comment), #28120
The text was updated successfully, but these errors were encountered: