mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 00:20:50 +00:00
Actually, this makes more sense
This commit is contained in:
@@ -76,9 +76,13 @@ public sealed class WebBrowser : IDisposable {
|
||||
};
|
||||
|
||||
if (webProxy != null) {
|
||||
HttpClientHandler.PreAuthenticate = true;
|
||||
HttpClientHandler.Proxy = webProxy;
|
||||
HttpClientHandler.UseProxy = true;
|
||||
|
||||
if (webProxy.Credentials != null) {
|
||||
// We can be pretty sure that user knows what he's doing and that proxy indeed requires authentication, save roundtrip
|
||||
HttpClientHandler.PreAuthenticate = true;
|
||||
}
|
||||
}
|
||||
|
||||
#if NETFRAMEWORK
|
||||
|
||||
Reference in New Issue
Block a user