diff options
| author | Dan Engelbrecht <[email protected]> | 2026-04-13 12:42:58 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-04-13 12:42:58 +0200 |
| commit | 2d902f99fbfc11b874f4c50fa648f10340e4f0cc (patch) | |
| tree | 8767ab7079bdc4a2f07c3ddee2a8051b0b5e218e /src/zenhttp/include | |
| parent | Logging and diagnostics improvements (#941) (diff) | |
| download | archived-zen-2d902f99fbfc11b874f4c50fa648f10340e4f0cc.tar.xz archived-zen-2d902f99fbfc11b874f4c50fa648f10340e4f0cc.zip | |
minor fixups (#948)
* objectstore.cpp - m_TotalBytesServed now tracks all range cases (single, multi, 416)
* async http: docstring corrected: curl_multi_socket_action() / ASIO socket async_wait
remove non-ascii characters
* fix singlethreaded gc option in lua to not use dash
* fix changelog order
Diffstat (limited to 'src/zenhttp/include')
| -rw-r--r-- | src/zenhttp/include/zenhttp/asynchttpclient.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenhttp/include/zenhttp/asynchttpclient.h b/src/zenhttp/include/zenhttp/asynchttpclient.h index 58429349d..cb41626b9 100644 --- a/src/zenhttp/include/zenhttp/asynchttpclient.h +++ b/src/zenhttp/include/zenhttp/asynchttpclient.h @@ -21,7 +21,7 @@ using AsyncHttpCallback = std::function<void(HttpClient::Response)>; /** Asynchronous HTTP client backed by curl_multi and ASIO. * - * Uses curl_multi_perform() driven by an ASIO steady_timer to process + * Uses curl_multi_socket_action() driven by ASIO socket async_wait to process * transfers without blocking the caller. All curl_multi operations are * serialized on an internal strand; callers may issue requests from any * thread, and the io_context may have multiple threads. @@ -53,7 +53,7 @@ public: AsyncHttpClient(const AsyncHttpClient&) = delete; AsyncHttpClient& operator=(const AsyncHttpClient&) = delete; - // ── Callback-based API ────────────────────────────────────────────── + // -- Callback-based API ---------------------------------------------- void AsyncGet(std::string_view Url, AsyncHttpCallback Callback, @@ -85,7 +85,7 @@ public: void AsyncPut(std::string_view Url, AsyncHttpCallback Callback, const KeyValueMap& Parameters = {}); - // ── Future-based API ──────────────────────────────────────────────── + // -- Future-based API ------------------------------------------------ [[nodiscard]] std::future<Response> Get(std::string_view Url, const KeyValueMap& AdditionalHeader = {}, |