AdvancedBlocking: updated UpdateAllListsAsync() to not use system proxy.

This commit is contained in:
Shreyas Zare
2022-09-18 18:37:47 +05:30
parent af0e73ecd8
commit 0b5adc73e2

View File

@@ -147,6 +147,7 @@ namespace AdvancedBlocking
SocketsHttpHandler handler = new SocketsHttpHandler();
handler.Proxy = _dnsServer.Proxy;
handler.UseProxy = _dnsServer.Proxy is not null;
handler.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
using (HttpClient http = new HttpClient(handler))