-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add zstd support #2088
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 zstd support #2088
Conversation
@davidalo could you rebase your code based on the latest master branch, and fix the format errors reported by 'test/style-check'? Thanks! |
c269370
to
290eb0a
Compare
Done! |
All tests are passing on my side. |
Well, is CI running any of the tests? (Ignoring the internal server error on GH's end.) On Ubuntu and macOS, tests are run through Let me know if you need assistance with any of that. |
@davidalo as @falbrechtskirchinger mentioned, the unit tests should run on the GitHub Actions CI. The following lines are for the Brotri support. You can do the same or similar for the zstd support. Lines 18 to 21 in 85b5cdd
cpp-httplib/.github/workflows/test.yaml Line 54 in 85b5cdd
cpp-httplib/.github/workflows/test.yaml Line 106 in 85b5cdd
cpp-httplib/.github/workflows/test.yaml Line 117 in 85b5cdd
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to add to httplibConfig.cmake.in
@davidalo could you please follow up the review comments? Thanks! |
Yes, sorry busy week... Pushed three commits with the requested changes but suffering from conflicts. Rebasing and solving conflicts now. |
02f04cc
to
9eab78c
Compare
8d426ad
to
9e81d40
Compare
@yhirose @sum01 @falbrechtskirchinger fixed following your comments, thanks for them. Tests pass, except for the abi test, which fails for something unrelated to this PR. Please check it now. |
Don't worry about the ABI test, it's purely informational and (mostly) intended for the maintainer. For CMake, you still need to add ZStd to https://github.com/yhirose/cpp-httplib/blob/master/cmake/httplibConfig.cmake.in. Someone else can take care of Meson after the PR has been merged. I'm short on time and will do a detailed review later if no one else does. |
Thanks for your comments, added zstd to |
@davidalo thanks for your fine contribution! |
Thanks everyone for your review and for this great library! |
No description provided.