mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Enhancements
Fix when subscription download timeout before complete, the parser will still try to parse downloaded content. Change default regex library to PCRE2. Change Quantumult X "url-test" equivalent to "available". Optimize codes. Update build scripts.
This commit is contained in:
12 files changed
+164
-133
No files matched your search
+1
-8
@@ -1625,14 +1625,7 @@ void netchToQuanX(std::vector<nodeInfo> &nodes, INIReader &ini, std::vector<rule
|
||||
type = "static";
|
||||
rules_upper_bound = vArray.size();
|
||||
}
|
||||
else if(vArray[1] == "url-test")
|
||||
{
|
||||
if(vArray.size() < 5)
|
||||
continue;
|
||||
type = "static";
|
||||
rules_upper_bound = vArray.size() - 2;
|
||||
}
|
||||
else if(vArray[1] == "fallback")
|
||||
else if(vArray[1] == "url-test" || vArray[1] == "fallback")
|
||||
{
|
||||
if(vArray.size() < 5)
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user