mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-04 10:42:04 +00:00
Enhancements
Add experimental async ruleset fetching. Optimize codes.
This commit is contained in:
11 files changed
+306
-328
No files matched your search
@@ -167,6 +167,12 @@ std::string webGet(std::string url, std::string proxy)
|
||||
return webGet(url, proxy, dummy);
|
||||
}
|
||||
|
||||
std::string webGet(std::string url, std::string proxy, unsigned int cache_ttl)
|
||||
{
|
||||
std::string dummy;
|
||||
return webGet(url, proxy, dummy, cache_ttl);
|
||||
}
|
||||
|
||||
int curlPost(std::string url, std::string data, std::string proxy, std::string auth_token, std::string *retData)
|
||||
{
|
||||
CURL *curl_handle;
|
||||
|
||||
Reference in new issue
Block a user