llhttp: add new recipe (9.4.3)

restinio 0.7.x drops its bundled http_parser and instead requires
llhttp to be supplied externally via find_package().

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj
2026-08-06 13:34:28 +00:00
parent f971f62ef1
commit f23f06fd0e
@@ -0,0 +1,18 @@
SUMMARY = "Port of http_parser to llvm's libFuzzer, and a rewrite of the HTTP parser used in Node.js"
DESCRIPTION = "llhttp is a HTTP/1.x parser generated from a bytecode-like \
instruction set that is smaller and faster to maintain than \
the legacy http_parser it replaces. It is used by restinio \
(and Node.js itself) as the HTTP request/response parser."
HOMEPAGE = "https://github.com/nodejs/llhttp"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9e4e583cb28b7e0c2ef8df4832706e96"
# The release/v* tags carry the generated sources and live on the "release"
# branch, which shares no history with "main".
SRC_URI = "git://github.com/nodejs/llhttp.git;protocol=https;branch=release;tag=release/v${PV}"
SRCREV = "0e815792b167a9bd8ace259b95b7da953776c288"
inherit cmake
BBCLASSEXTEND = "native nativesdk"