Skip to content
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: keep F_LENIENT between messages #34

Closed
wants to merge 1 commit into from
Closed

Conversation

indutny
Copy link
Member

@indutny indutny commented Nov 21, 2019

F_LENIENT flag should not be reset along with the other flags when
starting parsing a new message. This setting should remain on for the
lifetime of the parser or until llhttp_set_lenient(..., 0).

cc @nodejs/http @addaleax @bnoordhuis

`F_LENIENT` flag should not be reset along with the other flags when
starting parsing a new message. This setting should remain on for the
lifetime of the parser or until `llhttp_set_lenient(..., 0)`.
indutny added a commit that referenced this pull request Nov 21, 2019
`F_LENIENT` flag should not be reset along with the other flags when
starting parsing a new message. This setting should remain on for the
lifetime of the parser or until `llhttp_set_lenient(..., 0)`.

PR-URL: #34
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
@indutny
Copy link
Member Author

indutny commented Nov 21, 2019

Landed in 5f29a33, thank you everyone!

@indutny indutny closed this Nov 21, 2019
@indutny indutny deleted the fix/lenient-reuse branch November 21, 2019 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants