Bug fixes

Fix broken parsing support for Clash Shadowsocks configuration.
Fix support for multipart Surge custom rule.
Optimize codes.
INIReader: Remove MAX_LINE_LENGTH limit.
This commit is contained in:
Tindy X committed 2019-11-12 09:56:48 +08:00
1 parent 4b80cbf4cf
commit e4f5bcdbc0
5 files changed
+20 -7

No files matched your search

+3 -3
View File
@@ -212,11 +212,11 @@ int start_web_server_multi(void *argv)
return 0;
}
void append_response(std::string type, std::string request, std::string content_type, response_callback response)
void append_response(std::string method, std::string uri, std::string content_type, response_callback response)
{
responseRoute rr;
rr.method = type;
rr.path = request;
rr.method = method;
rr.path = uri;
rr.content_type = content_type;
rr.rc = response;
responses.emplace_back(rr);