summaryrefslogtreecommitdiff
path: root/src/uaLookup.hpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-09-09 23:45:39 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-09-10 18:28:33 +0100
commitc9b3d45d2598ebef2df889c0b9967ef473405528 (patch)
treeb99724362575e8a782bd3c2aebbd8f54b075a42b /src/uaLookup.hpp
parent2eb8897706128f3590a5b4f9ee8f3e755b74f097 (diff)
downloadwebstat-c9b3d45d2598ebef2df889c0b9967ef473405528.tar.bz2
webstat-c9b3d45d2598ebef2df889c0b9967ef473405528.tar.xz
webstat-c9b3d45d2598ebef2df889c0b9967ef473405528.zip
Use curl_multi_poll in main ingestLog loop
Preparation step for having background curl operations.
Diffstat (limited to 'src/uaLookup.hpp')
-rw-r--r--src/uaLookup.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uaLookup.hpp b/src/uaLookup.hpp
index 843283e..3c43371 100644
--- a/src/uaLookup.hpp
+++ b/src/uaLookup.hpp
@@ -17,6 +17,7 @@ namespace WebStat {
using CurlPtr = std::unique_ptr<CURL, DeleteWith<&curl_easy_cleanup>>;
using CurlMimePtr = std::unique_ptr<curl_mime, DeleteWith<&curl_mime_free>>;
using CurlErrorBuf = std::array<char, CURL_ERROR_SIZE>;
+ using CurlMultiPtr = std::unique_ptr<CURLM, DeleteWith<&curl_multi_cleanup>>;
class CurlOperation {
public: