latchset / tang

Tang binding daemon
GNU General Public License v3.0
500 stars 57 forks source link

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

Closed sergio-correia closed 8 months ago

sergio-correia commented 8 months ago

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] https://github.com/nodejs/http-parser/issues/522 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977716