Closed snej closed 4 months ago
Yeah, lots of changes that aren't relevant anymore for sure! thanks for filing an issue.
I found the llhttp repo but I’m confused — it’s primarily TypeScript. There are instructions in its README for using it in C code with CMake, but it has instructions for what to put in your CMakeLists and it looks nothing like what the diagnostics above say to do.
Sort of frustrating because I don’t really need an HTTP parser; all I want is TLS support for libuv.
I found the llhttp repo but I’m confused — it’s primarily TypeScript. There are instructions in its README for using it in C code with CMake, but it has instructions for what to put in your CMakeLists and it looks nothing like what the diagnostics above say to do.
Sort of frustrating because I don’t really need an HTTP parser; all I want is TLS support for libuv.
I believe llhttp C implementation is generated from Typescript.
After seeing your use case I am considering making HTTP support optional. This will reduce the number of dependencies (llhttp, zlib) for that usage
I too only want TLS for libuv (using mbedtls in my case). I'm using the zig build system, so wrote my own build config for that but I'd a) like to upstream that if it's interesting to the project and b) think llhttp should be made optional, regardless if the build system is zig, cmake or something else :)
I just cloned the repo and am trying to build the main branch. The instructions in the README don’t seem to describe the current state of the repo:
mkdir build && cd build && cmake ..
incantation on my macOS system and got the following error:There’s no mention of
llhttp
in the README. I can try installing it with homebrew and see if that resolves the issue.