-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📚 Update cpp-httplib, log error code on failed HTTP requests (#81)
This change updates us to `v0.8.4` of [cpp-httplib](https://github.com/yhirose/cpp-httplib), which includes a decent number of fixes to bugs that I suspect may be causing some of our HTTPS request failures we're seeing in production. As a result of some of the changes in the httplib update, a few changes were made to the ServiceConnection implementations to avoid copying of `httplib::Client` and `httplib::Result` instances (they are now backed by `unique_ptr`). Additional logging detail was also added in the Glimesh HTTP request failure case so we can determine root cause if this doesn't resolve the failures. Verified by testing against local glimesh.tv instance.
- Loading branch information
Showing
5 changed files
with
34 additions
and
53 deletions.
There are no files selected for viewing
Submodule cpp-httplib
updated
16 files
+5 −2 | .github/workflows/test.yaml | |
+150 −50 | README.md | |
+1,838 −820 | httplib.h | |
+2 −2 | test/Makefile | |
+36 −0 | test/Makefile.fuzz_test | |
+27 −0 | test/fuzzing/Makefile | |
+1 −0 | test/fuzzing/corpus/1 | |
+5 −0 | test/fuzzing/corpus/2 | |
+88 −0 | test/fuzzing/server_fuzzer.cc | |
+224 −0 | test/fuzzing/server_fuzzer.dict | |
+35 −0 | test/fuzzing/standalone_fuzz_target_runner.cpp | |
+4 −3 | test/gtest/gtest-all.cc | |
+7 −6 | test/gtest/gtest.h | |
+781 −106 | test/test.cc | |
+3 −0 | test/test.conf | |
+27 −30 | test/test_proxy.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters