Unverified Commit d6638901 authored by Jehonathan Thomas's avatar Jehonathan Thomas Committed by GitHub

Merge pull request #590 from StephaneGraziano/master

CustomBufferedStream were not disposed
parents 6f77c51d 715a26d3
......@@ -182,7 +182,7 @@ namespace Titanium.Web.Proxy
X509Certificate2 certificate = null;
try
{
sslStream = new SslStream(clientStream, true);
sslStream = new SslStream(clientStream, false);
string certName = HttpHelper.GetWildCardDomainName(connectHostname);
certificate = endPoint.GenericCertificate ??
......
......@@ -67,7 +67,7 @@ namespace Titanium.Web.Proxy
X509Certificate2 certificate = null;
try
{
sslStream = new SslStream(clientStream, true);
sslStream = new SslStream(clientStream, false);
string certName = HttpHelper.GetWildCardDomainName(httpsHostName);
certificate = endPoint.GenericCertificate ??
......
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