mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
9298065cef
CPR has features disabled and PCRE is fully disabled until updated to new code.
16 lines
251 B
C++
16 lines
251 B
C++
#include "cpr/curlmultiholder.h"
|
|
|
|
#include <cassert>
|
|
|
|
namespace cpr {
|
|
|
|
CurlMultiHolder::CurlMultiHolder() : handle{curl_multi_init()} {
|
|
assert(handle);
|
|
}
|
|
|
|
CurlMultiHolder::~CurlMultiHolder() {
|
|
curl_multi_cleanup(handle);
|
|
}
|
|
|
|
} // namespace cpr
|