Commit f6aa5914 authored by justcoding121's avatar justcoding121

release client

parent 5d2536ea
...@@ -79,7 +79,8 @@ namespace Titanium.Web.Proxy ...@@ -79,7 +79,8 @@ namespace Titanium.Web.Proxy
try try
{ {
await TcpConnectionManager.GetClient(httpRemoteUri.Host, httpRemoteUri.Port, true, version).ConfigureAwait(false); var tunnelClient = await TcpConnectionManager.GetClient(httpRemoteUri.Host, httpRemoteUri.Port, true, version).ConfigureAwait(false);
await TcpConnectionManager.ReleaseClient(tunnelClient);
sslStream = new SslStream(clientStream, true); sslStream = new SslStream(clientStream, true);
var certificate = await CertManager.CreateCertificate(httpRemoteUri.Host, false); var certificate = await CertManager.CreateCertificate(httpRemoteUri.Host, false);
......
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