Narrow down the tls-verification option condition in Quantumult X (#145)

This commit is contained in:
HoldOnBro
2020-04-23 22:11:47 +08:00
committed by GitHub
parent e5f7352940
commit e7e6d9879d

View File

@@ -2107,7 +2107,7 @@ void netchToQuanX(std::vector<nodeInfo> &nodes, INIReader &ini, std::vector<rule
proxyStr += ", fast-open=true";
if(ext.udp)
proxyStr += ", udp-relay=true";
if(ext.skip_cert_verify)
if(ext.skip_cert_verify && (x.linkType == SPEEDTEST_MESSAGE_FOUNDHTTP || x.linkType == SPEEDTEST_MESSAGE_FOUNDTROJAN))
proxyStr += ", tls-verification=false";
proxyStr += ", tag=" + remark;