Browse Source

fix #2739

tags/4.1.9.1
Student Main 5 years ago
parent
commit
6cecd28cb8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/Controller/Service/PACServer.cs

+ 1
- 1
shadowsocks-csharp/Controller/Service/PACServer.cs View File

@@ -82,7 +82,7 @@ namespace Shadowsocks.Controller
string request = Encoding.UTF8.GetString(firstPacket, 0, length);
string[] lines = request.Split('\r', '\n');
bool hostMatch = false, pathMatch = false, useSocks = false;
bool secretMatch = _config.secureLocalPac;
bool secretMatch = !_config.secureLocalPac;
if (lines.Length < 2) // need at lease RequestLine + Host
{


Loading…
Cancel
Save