aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/storage/admin/admin.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-04-03 17:38:21 +0200
committerStefan Boberg <[email protected]>2026-04-03 18:01:35 +0200
commit45b1ec721d33e5637b4e7157d6be850ae3e3fa2c (patch)
tree97587589fca33b9c9db5c0bcc23005f8550530e0 /src/zenserver/storage/admin/admin.cpp
parentdisable zencompute in bundle step (diff)
downloadzen-45b1ec721d33e5637b4e7157d6be850ae3e3fa2c.tar.xz
zen-45b1ec721d33e5637b4e7157d6be850ae3e3fa2c.zip
Add async HTTP client using curl_multi + ASIO
Introduces AsyncHttpClient backed by curl_multi_perform driven by an ASIO steady_timer. Supports callback-based and std::future-based APIs for GET/POST/PUT/DELETE/HEAD, with both owned and external io_context modes. All curl_multi state is serialized on an asio::strand, making it safe with multi-threaded io_contexts. Shared curl helpers (callbacks, URL encoding, header construction, error mapping) extracted into httpclientcurlhelpers.h to eliminate duplication between the sync and async implementations.
Diffstat (limited to 'src/zenserver/storage/admin/admin.cpp')
0 files changed, 0 insertions, 0 deletions