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

Add support for building with llhttp instead of http-parser #136

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

sergio-correia
Copy link
Collaborator

As http-parser has been unmaintained for a while [1], let's add support for its natural replacement, llhttp.

However, as llhttp does not seem to be packaged in distros like Debian [2], we will keep supporting building with http-parser for time being, preferring llhttp, if it is present.

Resolves: #64

[1] nodejs/http-parser#522
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977716

Copy link
Collaborator

@sarroutbi sarroutbi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM

As http-parser has been unmaintained for a while [1], let's add
support for its natural replacement, llhttp.

However, as llhttp does not seem to be packaged in distros like
Debian [2], we will keep supporting building with http-parser for
time being, preferring llhttp, if it is present.

[1] nodejs/http-parser#522
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977716
Copy link
Collaborator

@sarroutbi sarroutbi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest changes LGTM

@sergio-correia sergio-correia merged commit 761423d into latchset:master Jan 11, 2024
14 checks passed
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.

Consider switching http-parser to llhttp
2 participants