aboutsummaryrefslogtreecommitdiff
path: root/src/zenhorde/hordetransport.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-04-03 18:20:34 +0200
committerStefan Boberg <[email protected]>2026-04-03 18:20:34 +0200
commite809b6a9d05ae323c6f0d2092bca429da76a23ce (patch)
treec3c556d981b7960549527c0df581954425985a63 /src/zenhorde/hordetransport.cpp
parentAdd async HTTP client using curl_multi + ASIO (diff)
downloadzen-sb/async-httpclient.tar.xz
zen-sb/async-httpclient.zip
Replace timer-based polling with curl socket-action integrationsb/async-httpclient
Switch from a fixed 10ms poll loop (curl_multi_perform) to the event-driven curl_multi_socket_action API. curl now tells us which sockets to watch via CURLMOPT_SOCKETFUNCTION and when to fire timeouts via CURLMOPT_TIMERFUNCTION. Socket readiness is detected through asio::ip::tcp::socket::async_wait, eliminating the polling latency entirely.
Diffstat (limited to 'src/zenhorde/hordetransport.cpp')
0 files changed, 0 insertions, 0 deletions