Enhancements

Fix HEAD method to /sub not working.
Remove unused interfaces.
This commit is contained in:
Tindy X committed 2022-08-22 14:47:12 +08:00
1 parent f9713b43b9
commit be878e1005
6 files changed
+8 -134

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ void safe_set_emojis(RegexMatchConfigs data);
void safe_set_renames(RegexMatchConfigs data);
void safe_set_streams(RegexMatchConfigs data);
void safe_set_times(RegexMatchConfigs 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);
std::shared_future<std::string> fetchFileAsync(const std::string &path, const std::string &proxy, int cache_ttl, bool find_local = true, bool async = false);
std::string fetchFile(const std::string &path, const std::string &proxy, int cache_ttl, bool find_local = true);
#endif // MULTITHREAD_H_INCLUDED