Skip to content

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 <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
@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
alex-dev-2012 added a commit to alex-dev-2012/llhttp that referenced this pull request Jul 29, 2025
`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: nodejs/llhttp#34
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
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.

6 participants