Enhancements

Fix broken LAN list.
Add support for "no-resolve"/"force-remote-dns" in exporting Clash subscriptions.
Optimize codes.
This commit is contained in:
Tindy X committed 2019-12-01 18:13:16 +08:00
1 parent cd02165a0c
commit d8908f4dce
13 files changed
+108 -81

No files matched your search

+2 -1
View File
@@ -62,7 +62,8 @@ int curlPost(std::string url, std::string data, std::string proxy, std::string a
struct curl_slist *list = NULL;
int retVal = 0;
CURLcode res = curl_global_init(CURL_GLOBAL_ALL);
CURLcode res;
curl_global_init(CURL_GLOBAL_ALL);
curl_handle = curl_easy_init();
list = curl_slist_append(list, "Content-Type: application/json;charset='utf-8'");