summaryrefslogtreecommitdiffstats
path: root/src/curl_looper.hh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/curl_looper.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/curl_looper.hh b/src/curl_looper.hh
index fbfbf2e..1f4b7df 100644
--- a/src/curl_looper.hh
+++ b/src/curl_looper.hh
@@ -94,6 +94,10 @@ public:
}
}
+ curl_request(const curl_request&) = delete;
+ curl_request(curl_request&&) = delete;
+ void operator=(curl_request&&) = delete;
+
virtual ~curl_request() = default;
const std::string& get_name() const { return this->cr_name; }
@@ -148,10 +152,7 @@ protected:
class curl_looper : public isc::service<curl_looper> {
public:
- curl_looper() : cl_curl_multi(curl_multi_cleanup)
- {
- this->cl_curl_multi.reset(curl_multi_init());
- }
+ curl_looper();
void process_all();