cpp-httplib
cpp-httplib copied to clipboard
A C++ header-only HTTP/HTTPS server and client library
Hello ! I have been tinkering with the library and really like the ease of use and simplicity of it, thanks for all the good work ! I am facing...
This is to be able to detect if the client connection was lost. Context: https://github.com/yhirose/cpp-httplib/issues/1952 / https://github.com/ggerganov/llama.cpp/pull/9679 As suggested by @ngxson, since is_writable / select_write may be a bit heavyweight,...
From https://github.com/yhirose/cpp-httplib/commit/6e73a63153e936e753211a5608acf336fb848a37, the benchmark tells the server performance is degraded on my M1 MacBook Pro. #### https://github.com/yhirose/cpp-httplib/commit/cdc223019acf93e1c2f15fd7794aea81de85e6ce ``` [(cdc2230...)] ~/cpp-httplib/benchmark$ make -------------------- cpp-httplib latest -------------------- Bombarding http://localhost:8080 for 5s using...
Drop 32bit environment support, and support only 64bit environment. Additional information: #2084
Hello i would want to be able to send early hints https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/103 Related: https://github.com/yhirose/cpp-httplib/issues/1762
Follow https://learn.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-certgetcertificatechain for related flags. Closes #1978
Add unit tests for: - #2069 - #2073 - #2074
Add complementary stream_handler callback to response. If set, it replaces all other content-serving mechanisms. No content-, or range-related headers are added. This provides a minimal interface to implement a WebSocket...
Introduce a new request callback, stream_handler. If set, it replaces all other content-serving mechanisms. The handler is not called in response to HEAD or CONNECT requests, or when following a...
Generalize `split.py` to split future httplib files. Files are now searched in a selectable base directory (defaults to script directory) and relative search directories. `inline namespace`s will be kept. This...