mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Enhancements
Add more HTTP status code with detailed error info. Improve error handling with broken links. Add basic support for extra response headers.
This commit is contained in:
6 files changed
+69
-40
No files matched your search
@@ -1442,12 +1442,13 @@ int explodeConfContent(std::string content, std::string custom_port, int local_p
|
||||
default:
|
||||
//try to parse as a local subscription
|
||||
explodeSub(content, sslibev, ssrlibev, custom_port, local_port, nodes, exclude_remarks, include_remarks);
|
||||
if(nodes.size() == 0)
|
||||
return SPEEDTEST_ERROR_UNRECOGFILE;
|
||||
else
|
||||
return SPEEDTEST_ERROR_NONE;
|
||||
}
|
||||
|
||||
if(nodes.size() == 0)
|
||||
return SPEEDTEST_ERROR_UNRECOGFILE;
|
||||
else
|
||||
return SPEEDTEST_ERROR_NONE;
|
||||
|
||||
iter = nodes.begin();
|
||||
while(iter != nodes.end())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user