Commit e187c558 authored by justcoding121's avatar justcoding121 Committed by justcoding121

https already authorized inside when doing CONNECT

parent 43e61422
...@@ -313,7 +313,8 @@ namespace Titanium.Web.Proxy ...@@ -313,7 +313,8 @@ namespace Titanium.Web.Proxy
args.ProxyClient.ClientStreamWriter = clientStreamWriter; args.ProxyClient.ClientStreamWriter = clientStreamWriter;
//proxy authorization check //proxy authorization check
if (await CheckAuthorization(clientStreamWriter, if (httpsConnectHostname == null &&
await CheckAuthorization(clientStreamWriter,
args.WebSession.Request.RequestHeaders.Values) == false) args.WebSession.Request.RequestHeaders.Values) == false)
{ {
args.Dispose(); args.Dispose();
......
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