Commit 0a2199b9 authored by justcoding121's avatar justcoding121 Committed by justcoding121

Merge pull request #270 from TomZierbockSiemens/develop

Using WebRequest to retrieve upstream proxy
parents acb334ac da588f15
......@@ -607,7 +607,7 @@ namespace Titanium.Web.Proxy
private Task<ExternalProxy> GetSystemUpStreamProxy(SessionEventArgs sessionEventArgs)
{
// Use built-in WebProxy class to handle PAC/WAPD scripts.
var systemProxyResolver = new WebProxy();
var systemProxyResolver = WebRequest.GetSystemWebProxy();
var systemProxyUri = systemProxyResolver.GetProxy(sessionEventArgs.WebSession.Request.RequestUri);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment