Enhancements

Fix compatibility with some non-standard Surge configurations.
Refactor Clash Rule generation to speed up the process.
Optimize codes.
This commit is contained in:
Tindy X committed 2020-03-21 15:25:21 +08:00
1 parent f496333ce0
commit 5d2bae1b32
5 files changed
+131 -108

No files matched your search

+1
View File
@@ -22,5 +22,6 @@ void safe_set_renames(string_array &data);
void safe_set_streams(string_array &data);
void safe_set_times(string_array &data);
std::shared_future<std::string> fetchFileAsync(const std::string &path, const std::string &proxy, int cache_ttl, bool async = false);
std::string fetchFile(const std::string &path, const std::string &proxy, int cache_ttl);
#endif // MULTITHREAD_H_INCLUDED