Fix bad implementation of request header forwarding

Optimize performance.
This commit is contained in:
Tindy X committed 2020-07-09 00:41:46 +08:00
1 parent 73ff6b9716
commit fe62622123
2 files changed
+5 -8

No files matched your search

+1 -1
View File
@@ -1919,7 +1919,7 @@ void explodeSub(std::string sub, bool sslibev, bool ssrlibev, const std::string
nodeInfo node;
//try to parse as SSD configuration
if(strFind(sub, "ssd://"))
if(startsWith(sub, "ssd://"))
{
explodeSSD(sub, sslibev, custom_port, nodes);
processed = true;