Browse Source

Log checking GFWList

tags/4.1.5
celeron533 5 years ago
parent
commit
fdd068c414
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      shadowsocks-csharp/Controller/Service/GfwListUpdater.cs

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

@@ -89,6 +89,7 @@ namespace Shadowsocks.Controller
public void UpdatePACFromGFWList(Configuration config) public void UpdatePACFromGFWList(Configuration config)
{ {
Logging.Info($"Checking GFWList from {GFWLIST_URL}");
WebClient http = new WebClient(); WebClient http = new WebClient();
http.Proxy = new WebProxy(IPAddress.Loopback.ToString(), config.localPort); http.Proxy = new WebProxy(IPAddress.Loopback.ToString(), config.localPort);
http.DownloadStringCompleted += http_DownloadStringCompleted; http.DownloadStringCompleted += http_DownloadStringCompleted;


Loading…
Cancel
Save