cpp-httplib
cpp-httplib copied to clipboard
A C++ header-only HTTP/HTTPS server and client library
Hi, I want to use a `httplib::SSLClient` object to post chunks of data (using `Transfer-Encoding: chunked`) while an another thread receives chunked data from a server. After looking through the...
##### **Describe the bug** AddressSanitizer: stack-overflow in regex_executor.tcc ##### **To Reproduce** Built cpp-httplib using clang-10 according to [the oss-fuzz script](https://github.com/google/oss-fuzz/blob/master/projects/cpp-httplib/build.sh) with `CXXFLAGS='-O1 -fsanitize=address -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr'` commit: 696239d6e1fa93d5a5ea8b37fac1a55c2da162fc testcase: [httplib-server_fuzzer.zip](https://github.com/yhirose/cpp-httplib/files/8591810/httplib-server_fuzzer.zip) ##### **ASAN...
Adds a way to add handlers for various protocols and support alternate protocols which use HTTP for initial negotiation. We will not be responsible for implementing any of those handlers...
A client calls the logger only in case of successful request completion, no matter the HTTP status is successful or not. However, in case of an error, for example, `httplib::Read`...
Hi guys, I have been using the SSE for a while now **exactly** as describe in the `example/ssesvr.cc` file. I noticed that my main thread hung / stale sporadically, after...
Hello, I was testing you library and I had a problem to access a directory http://localhost/dir Looking into the code I noticed that you check for / at the end...
I have an httplib client that invokes a single web service, but with certain data in the response, I receive error 4, the problem is... SoapUI does not have a...
Added support for loading certificates from the Keychain on MacOS, similar to Windows. I have tested it in my project and it works. I am not sure how to properly...
Currently, I'm embedding some certificates into my code to avoid packaging with cert files. I saw that [`curl`](https://curl.se/libcurl/c/cacertinmem.html) has a good example of this, so I ended up writing something...
Hello, I noticed that the library cannot handle URLs like `http://[::1]/` because it does not consider the `[]`-escaped IPv6 addresses. It's a problem in both: the Client constructors as well...